Update for production data.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"projectId": "65ede55a213134f2b688",
|
||||
"projectName": "oys-dev",
|
||||
"projectId": "bab",
|
||||
"projectName": "BAB",
|
||||
"functions": [
|
||||
{
|
||||
"$id": "664038294b5473ef0c8d",
|
||||
"$id": "userinfo",
|
||||
"name": "userinfo",
|
||||
"runtime": "node-16.0",
|
||||
"execute": ["any"],
|
||||
|
||||
BIN
functions/userinfo-1.0.0.tar.gz
Normal file
BIN
functions/userinfo-1.0.0.tar.gz
Normal file
Binary file not shown.
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