fix: production readiness things

This commit is contained in:
Michael Zetterberg
2024-08-26 16:31:23 +02:00
parent 6d0e01d4e4
commit 233374ca24
2 changed files with 28 additions and 3 deletions

View File

@@ -131,6 +131,8 @@ export const editProfile = protectedServerActionProcedure
message: intl.formatMessage({ id: "Successfully updated profile!" }),
status: Status.success,
}
} else {
console.log(`[edit profile] body: ${JSON.stringify(body)}`)
}
const apiResponse = await api.patch(api.endpoints.v1.profile, {