mirror of
https://github.com/maciejpedzich/racemash.git
synced 2024-11-27 16:15:47 +01:00
Rename appwriteClient to just appwrite
This commit is contained in:
parent
f11bdcf22b
commit
a3139f1f61
@ -1,4 +1,4 @@
|
||||
import { Client } from 'appwrite';
|
||||
import { Account, Client, Databases } from 'appwrite';
|
||||
|
||||
const appwriteClient = new Client();
|
||||
|
||||
@ -6,4 +6,5 @@ appwriteClient
|
||||
.setEndpoint(import.meta.env.VITE_APPWRITE_ENDPOINT)
|
||||
.setProject(import.meta.env.VITE_APPWRITE_PROJECT_ID);
|
||||
|
||||
export { appwriteClient };
|
||||
export const account = new Account(appwriteClient);
|
||||
export const databases = new Databases(appwriteClient);
|
Loading…
Reference in New Issue
Block a user