remove log updateUserAttributes success
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m8s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m8s
This commit is contained in:
parent
61a09acbad
commit
32282b016b
1 changed files with 7 additions and 3 deletions
|
|
@ -1019,7 +1019,9 @@ export async function resetPassword(username: string) {
|
||||||
|
|
||||||
if (!users.ok) {
|
if (!users.ok) {
|
||||||
const errorText = await users.text();
|
const errorText = await users.text();
|
||||||
console.error(`[resetPassword] Failed to search user. Status: ${users.status}, Error: ${errorText}`);
|
console.error(
|
||||||
|
`[resetPassword] Failed to search user. Status: ${users.status}, Error: ${errorText}`,
|
||||||
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1047,7 +1049,9 @@ export async function resetPassword(username: string) {
|
||||||
|
|
||||||
if (!resetResponse.ok) {
|
if (!resetResponse.ok) {
|
||||||
const errorText = await resetResponse.text();
|
const errorText = await resetResponse.text();
|
||||||
console.error(`[resetPassword] Failed to send reset email. Status: ${resetResponse.status}, Error: ${errorText}`);
|
console.error(
|
||||||
|
`[resetPassword] Failed to send reset email. Status: ${resetResponse.status}, Error: ${errorText}`,
|
||||||
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1117,7 +1121,7 @@ export async function updateUserAttributes(
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`[updateUserAttributes] Successfully updated attributes for user ${userId}`);
|
// console.log(`[updateUserAttributes] Successfully updated attributes for user ${userId}`);
|
||||||
return true;
|
return true;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(`[updateUserAttributes] Error updating attributes for user ${userId}:`, error);
|
console.error(`[updateUserAttributes] Error updating attributes for user ${userId}:`, error);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue