mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-09-27 20:17:42 +02:00
Update actions.ts
This commit is contained in:
@@ -124,9 +124,8 @@ export const generateGptResponse: GenerateGptResponse<GptPayload, GptResponse> =
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
throw new HttpError(500, error.message);
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new HttpError(500, 'Something went wrong');
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export const updateUserById: UpdateUserById<{ id: number; data: Partial<User> }, User> = async (
|
export const updateUserById: UpdateUserById<{ id: number; data: Partial<User> }, User> = async (
|
||||||
|
Reference in New Issue
Block a user