mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-29 01:28:59 -05:00
Fix functions init
This commit is contained in:
parent
c8ef3b67f6
commit
bf9ffc07b7
1 changed files with 5 additions and 4 deletions
|
@ -22,7 +22,6 @@ export default () => {
|
||||||
execute: ["role:all"],
|
execute: ["role:all"],
|
||||||
name: "Finish Share",
|
name: "Finish Share",
|
||||||
runtime: "node-16.0",
|
runtime: "node-16.0",
|
||||||
deployment: "625db8ded97874b96590",
|
|
||||||
vars: {
|
vars: {
|
||||||
APPWRITE_FUNCTION_ENDPOINT: host,
|
APPWRITE_FUNCTION_ENDPOINT: host,
|
||||||
APPWRITE_FUNCTION_API_KEY: process.env["APPWRITE_FUNCTION_API_KEY"],
|
APPWRITE_FUNCTION_API_KEY: process.env["APPWRITE_FUNCTION_API_KEY"],
|
||||||
|
@ -33,11 +32,13 @@ export default () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
$id: "cleanShares",
|
$id: "cleanShares",
|
||||||
|
execute: [],
|
||||||
name: "Clean Shares",
|
name: "Clean Shares",
|
||||||
runtime: "node-16.0",
|
runtime: "node-16.0",
|
||||||
path: "functions/cleanShares",
|
vars: {
|
||||||
entrypoint: "src/index.js",
|
APPWRITE_FUNCTION_ENDPOINT: host,
|
||||||
execute: ["role:all"],
|
APPWRITE_FUNCTION_API_KEY: process.env["APPWRITE_FUNCTION_API_KEY"],
|
||||||
|
},
|
||||||
events: [],
|
events: [],
|
||||||
schedule: "30,59 * * * *",
|
schedule: "30,59 * * * *",
|
||||||
timeout: 60,
|
timeout: 60,
|
||||||
|
|
Loading…
Add table
Reference in a new issue