Skip to content

Commit

Permalink
chore: updates for fastify from 3.29.0 to 4.0.2 (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mazuh authored Jun 15, 2022
1 parent 94c6e60 commit 954a719
Show file tree
Hide file tree
Showing 4 changed files with 163 additions and 314 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10, 12, 14, 16]
node: [14, 16]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion examples/fastify-casbin-rest-example/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { PG_CONNECTION_STRING, CASBIN_ADAPTER, JWT_SECRET } = process.env

module.exports = async function (fastify, opts) {
fastify
await fastify
.register(require('fastify-jwt'), {
secret: JWT_SECRET
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"devDependencies": {
"@types/node": "^17.0.0",
"fastify": "^3.10.1",
"fastify": "^4.0.2",
"pre-commit": "^1.2.2",
"sinon": "^14.0.0",
"snazzy": "^9.0.0",
Expand Down
Loading

0 comments on commit 954a719

Please sign in to comment.