Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hotfix] https 삭제 #204

Merged
merged 1 commit into from
Mar 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/page/Auth/Signup/utils/parseRegisterData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const parseRegisterData = async (
) => {
const companyNumber = ownerInfo.registrationNumberMobile ? ownerInfo.registrationNumberMobile.replace(/^(\d{3})(\d{2})(\d+)/, '$1-$2-$3') : `${ownerInfo.registrationNumberFront}-${ownerInfo.registrationNumberMiddle}-${ownerInfo.registrationNumberEnd}`;
const phoneNumber = ownerInfo.phoneMobile ? ownerInfo.phoneMobile.replace(/^(\d{3})(\d{4})(\d+)/, '$1-$2-$3') : `${ownerInfo.phoneFront}-${ownerInfo.phoneMiddle}-${ownerInfo.phoneEnd}`;
const attachmentUrls = fileUrls!.map((file) => ({ file_url: `https://${file}` }));
const attachmentUrls = fileUrls!.map((file) => ({ file_url: `${file}` }));
Copy link
Contributor

@hanagertrudeKim hanagertrudeKim Mar 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

Suggested change
const attachmentUrls = fileUrls!.map((file) => ({ file_url: `${file}` }));
const attachmentUrls = fileUrls!.map((file) => ({ file_url: file }));

const shopId = ownerInfo.shopName === searchShopState ? Number(selectedShopId) : null;
const hashedPassword = await sha256(userInfo.password!);

Expand Down
Loading