Übersetzungen + Prüfbox Bezahlung

This commit is contained in:
Moritz Utcke
2023-08-31 23:12:18 +06:00
parent 0fac93486f
commit 7bf1b9a6c6
90 changed files with 3015 additions and 417 deletions

View File

@@ -91,7 +91,7 @@ export const put: APIRoute = async ({ request }) => {
return ActionFailedError();
}
const location = path.join("uploads", `${result[0].uid}.jpg`);
const location = path.join("/persistent/uploads", `${result[0].uid}.jpg`);
const buffer = await jimpResult.getBufferAsync(jimp.MIME_JPEG)

View File

@@ -18,6 +18,9 @@ export const post: APIRoute = async ({ request }) => {
const user = await User.fromEmail(body.email);
console.log(user);
if (!user) {
return error(["Invalid email or password."]);
}