[-] Secrets

This commit is contained in:
Charles Le Maux 2024-07-03 14:10:36 +01:00
parent a7e1c514e4
commit b69adc4ed4
2 changed files with 3 additions and 4 deletions

0
src/service/api.test.js Normal file
View File

View File

@ -78,10 +78,9 @@ class serviiApi {
}
private static token(): string {
//const currentUser = getAuth().currentUser;
//if (!currentUser) {throw new Error('No user is currently logged in.');}
//return currentUser.uid;
return "MpkbDMOO8PQddQgB5VgBQdTMWF53"
const currentUser = getAuth().currentUser;
if (!currentUser) {throw new Error('No user is currently logged in.');}
return currentUser.uid;
}
public static async setSubdomain(subdomain: string): Promise<ApiResponse> {