Update for production data.

This commit is contained in:
2024-05-24 20:38:54 -04:00
parent 8382bbc5e5
commit 68bccbf8ac
5 changed files with 8 additions and 8 deletions

View File

@@ -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"],

Binary file not shown.

View File

@@ -0,0 +1,4 @@
{
"projectId": "bab",
"projectName": "BAB"
}

View File

@@ -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);

4
t
View File

@@ -1,4 +0,0 @@
databaseId: bab_prod
enabled: true
name: OYSBABProduction