This commit is contained in:
Tben
2023-07-07 20:13:13 +01:00
parent b43eb1f990
commit cdcb3069c3
17 changed files with 82 additions and 34 deletions
+4 -2
View File
@@ -37,7 +37,7 @@ const encrypt = require("../../functions/encrypt");
*
* @returns { Promise<FunctionReturn> }
*/
module.exports = async function ({ key, token, database, clientId, response, encryptionKey, encryptionSalt }) {
async function googleAuth({ key, token, database, clientId, response, encryptionKey, encryptionSalt }) {
/**
* Check inputs
*
@@ -183,8 +183,10 @@ module.exports = async function ({ key, token, database, clientId, response, enc
////////////////////////////////////////
return httpResponse;
};
}
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
module.exports = googleAuth;