fix: some small bugs

This commit is contained in:
Torsten Dittmann committed 2023-02-14 08:32:08 +01:00
1 parent 6b94d8ea44
commit dbec7795f8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -251,7 +251,7 @@ export const eventServices: Array<EventService> = [
resources: [
{ name: 'recovery', actions: [{ name: 'create' }, { name: 'delete' }] },
{ name: 'sessions', actions: [{ name: 'create' }, { name: 'delete' }] },
{ name: 'verifications', actions: [{ name: 'create' }, { name: 'delete' }] }
{ name: 'verification', actions: [{ name: 'create' }, { name: 'delete' }] }
],
actions: [
{ name: 'create' },
+1 -1
View File
@@ -13,7 +13,7 @@ import {
} from '@aw-labs/appwrite-console';
const endpoint =
import.meta.env.VITE_APPWRITE_ENDPOINT?.toString() ?? `${window?.location?.origin}/v1`;
import.meta.env.VITE_APPWRITE_ENDPOINT?.toString() ?? `${globalThis?.location?.origin}/v1`;
const clientConsole = new Client();
clientConsole.setEndpoint(endpoint).setProject('console');