1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-11-04 23:10:13 +01:00

Fix functions init

This commit is contained in:
Elias Schneider 2022-04-28 16:48:19 +02:00
parent c8ef3b67f6
commit bf9ffc07b7
No known key found for this signature in database
GPG Key ID: D5EC1C72D93244FD

View File

@ -22,7 +22,6 @@ export default () => {
execute: ["role:all"],
name: "Finish Share",
runtime: "node-16.0",
deployment: "625db8ded97874b96590",
vars: {
APPWRITE_FUNCTION_ENDPOINT: host,
APPWRITE_FUNCTION_API_KEY: process.env["APPWRITE_FUNCTION_API_KEY"],
@ -33,11 +32,13 @@ export default () => {
},
{
$id: "cleanShares",
execute: [],
name: "Clean Shares",
runtime: "node-16.0",
path: "functions/cleanShares",
entrypoint: "src/index.js",
execute: ["role:all"],
vars: {
APPWRITE_FUNCTION_ENDPOINT: host,
APPWRITE_FUNCTION_API_KEY: process.env["APPWRITE_FUNCTION_API_KEY"],
},
events: [],
schedule: "30,59 * * * *",
timeout: 60,