Update for production data.
This commit is contained in:
4
functions/userinfo/appwrite.json
Normal file
4
functions/userinfo/appwrite.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"projectId": "bab",
|
||||
"projectName": "BAB"
|
||||
}
|
||||
@@ -5,7 +5,7 @@ import validator from 'validator';
|
||||
// It's executed each time we get a request
|
||||
export default async ({ req, res, log, error }) => {
|
||||
const client = new Client()
|
||||
.setEndpoint('https://appwrite.toal.ca/v1')
|
||||
.setEndpoint('https://appwrite.oys.undock.ca/v1')
|
||||
.setProject(process.env.APPWRITE_FUNCTION_PROJECT_ID)
|
||||
.setKey(process.env.APPWRITE_API_KEY);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user