diff --git a/appwrite.json b/appwrite.json index c48e163..91d293a 100644 --- a/appwrite.json +++ b/appwrite.json @@ -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"], diff --git a/functions/userinfo-1.0.0.tar.gz b/functions/userinfo-1.0.0.tar.gz new file mode 100644 index 0000000..1a02328 Binary files /dev/null and b/functions/userinfo-1.0.0.tar.gz differ diff --git a/functions/userinfo/appwrite.json b/functions/userinfo/appwrite.json new file mode 100644 index 0000000..b5406fc --- /dev/null +++ b/functions/userinfo/appwrite.json @@ -0,0 +1,4 @@ +{ + "projectId": "bab", + "projectName": "BAB" +} diff --git a/functions/userinfo/src/main.js b/functions/userinfo/src/main.js index b21bda1..32a77aa 100644 --- a/functions/userinfo/src/main.js +++ b/functions/userinfo/src/main.js @@ -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); diff --git a/t b/t deleted file mode 100644 index c3a4afd..0000000 --- a/t +++ /dev/null @@ -1,4 +0,0 @@ -databaseId: bab_prod -enabled: true -name: OYSBABProduction -