API Optimierungen

This commit is contained in:
Moritz Utcke
2023-05-06 23:02:54 +04:00
parent bc3878e645
commit 9619bf29f3
14 changed files with 396 additions and 31 deletions

View File

@@ -14,7 +14,7 @@ export const get: APIRoute = async ({ request }) => {
return MissingPropertyError(["uid"]);
}
const user = User.fromPublicId(body.uid);
const user = User.fromUID(body.uid);
if (!user) {
return MissingEntityError("user");