summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/users/service.ts2
-rw-r--r--lib/users/verifyOtp.ts3
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/users/service.ts b/lib/users/service.ts
index 8b2c927e..0d0121b3 100644
--- a/lib/users/service.ts
+++ b/lib/users/service.ts
@@ -192,6 +192,7 @@ export async function findEmailandOtp(email: string, code: string) {
id: userRecord.id, // user id
imageUrl:userRecord.imageUrl,
companyId:userRecord.companyId,
+ techCompanyId:userRecord.techCompanyId,
domain:userRecord.domain
// 기타 필요한 필드...
}
@@ -218,6 +219,7 @@ export async function findEmailTemp(email: string) {
id: userRecord.id, // user id
imageUrl:userRecord.imageUrl,
companyId:userRecord.companyId,
+ techCompanyId:userRecord.techCompanyId,
domain:userRecord.domain
// 기타 필요한 필드...
}
diff --git a/lib/users/verifyOtp.ts b/lib/users/verifyOtp.ts
index 84919024..7b25ed49 100644
--- a/lib/users/verifyOtp.ts
+++ b/lib/users/verifyOtp.ts
@@ -23,6 +23,7 @@ export async function verifyOtp(email: string, code: string) {
id: otpRecord.id,
imageUrl: otpRecord.imageUrl,
companyId: otpRecord.companyId,
+ techCompanyId: otpRecord.techCompanyId,
domain: otpRecord.domain,
}
}
@@ -44,6 +45,7 @@ export async function verifyOtpTemp(email: string) {
id: otpRecord.id,
imageUrl: otpRecord.imageUrl,
companyId: otpRecord.companyId,
+ techCompanyId: otpRecord.techCompanyId,
domain: otpRecord.domain,
}
}
@@ -70,6 +72,7 @@ export async function verifyExternalCredentials(username: string, password: stri
id: otpRecord.id,
imageUrl: otpRecord.imageUrl,
companyId: otpRecord.companyId,
+ techCompanyId: otpRecord.techCompanyId,
domain: otpRecord.domain,
}
}