Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages Updated #38

Merged
merged 3 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@
"@account-abstraction/contracts": "0.6.0",
"@account-abstraction/utils": "0.5.0",
"@aws-sdk/client-secrets-manager": "3.410.0",
"@fastify/cors": "^8.4.0",
"@sinclair/typebox": "0.23.5",
"@fastify/cors": "8.4.1",
"@sinclair/typebox": "0.31.28",
"ajv": "8.11.2",
"dotenv": "16.0.3",
"env-schema": "5.1.1",
"ethers": "5.7.2",
"fastify": "4.10.2",
"fastify-cron": "^1.3.1",
"fastify": "4.24.3",
"fastify-cron": "1.3.1",
"fastify-plugin": "3.0.1",
"node-fetch": "^3.3.2"
"node-fetch": "3.3.2"
},
"devDependencies": {
"@babel/core": "7.23.2",
Expand Down
2 changes: 1 addition & 1 deletion backend/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ await server.register(fastifyCron, {
// Only these two properties are required,
// the rest is from the node-cron API:
// https://github.com/kelektiv/node-cron#api
cronTime: '0 0 * * *', // Everyday at midnight UTC
cronTime: process.env.CRON_TIME ?? '0 0 * * *', // Default: Everyday at midnight UTC

// Note: the callbacks (onTick & onComplete) take the server
// as an argument, as opposed to nothing in the node-cron API:
Expand Down
Loading