This commit is contained in:
Benjamin Toby
2025-01-20 08:42:35 +01:00
parent 3695a75919
commit c210e6ca46
13 changed files with 44 additions and 49 deletions
@@ -46,18 +46,6 @@ export default async function apiGoogleLogin({
if (!gUser?.email_verified) throw new Error("No Google User.");
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
if (!database || typeof database != "string" || database?.match(/ /)) {
return {
success: false,
payload: undefined,
msg: "Please provide a database slug(database name in lowercase with no spaces)",
};
}
/**
* Create new user folder and file
*