This commit is contained in:
parent
bafe7959b7
commit
95ed21ff8c
|
|
@ -17,7 +17,6 @@ export const getProfileByUserId = async (userId: string) => {
|
|||
|
||||
|
||||
if (!profile) {
|
||||
console.log(`No profile found for userId: ${userId}`) // 日志:如果没有找到 profile
|
||||
throw new Error(error.message)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue