mirror of
https://github.com/LukeHagar/appwrite-starter-function.git
synced 2025-12-09 20:37:46 +00:00
fixed syntax
This commit is contained in:
@@ -18,7 +18,7 @@ export default async ({ req, res, log, error }) => {
|
||||
const client = new Client()
|
||||
.setEndpoint("http://appwrite-functions/v1")
|
||||
.setProject(process.env.APPWRITE_FUNCTION_PROJECT_ID)
|
||||
.setKey(process.env.APPWRITE_API_KEY);
|
||||
.setKey(process.env.APPWRITE_API_KEY)
|
||||
.setSelfSigned(true);
|
||||
|
||||
const databases = new Databases(client);
|
||||
|
||||
Reference in New Issue
Block a user