Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Step 2: Importing Database module
Browse files Browse the repository at this point in the history
  • Loading branch information
colbyfayock committed Jan 15, 2024
1 parent fe72a47 commit 13c8486
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/appwrite.ts
@@ -1,6 +1,7 @@
import { Client } from 'appwrite';
import { Client, Databases } from 'appwrite';

export const client = new Client();
export const databases = new Databases(client);

client
.setEndpoint(import.meta.env.PUBLIC_APPWRITE_ENDPOINT)
Expand Down

0 comments on commit 13c8486

Please sign in to comment.