Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
fix: type error (#1907)
Browse files Browse the repository at this point in the history
  • Loading branch information
book000 authored Jun 8, 2024
1 parent 13ee5e8 commit bf46696
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion crawler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dependencies": {
"@fastify/cookie": "9.3.1",
"@fastify/cors": "9.0.1",
"@fastify/session": "10.7.2",
"@fastify/session": "10.9.0",
"fastify": "4.27.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion crawler/src/api/endpoint/twitter-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class TwitterRouter extends BaseRouter {
// アクセストークンの保存
request.session.set('accessToken', accessToken)
request.session.set('accessSecret', accessSecret)
request.session.set('twitterUserId', me.id)
request.session.set('twitterUserId', me.id.toString())

// リダイレクト
await (sessionBackUrl
Expand Down
8 changes: 4 additions & 4 deletions crawler/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@
dependencies:
fast-deep-equal "^3.1.3"

"@fastify/session@10.7.2":
version "10.7.2"
resolved "https://registry.yarnpkg.com/@fastify/session/-/session-10.7.2.tgz#8c4441133257075fc7eb79ce31b9a9d594e32ea8"
integrity sha512-PezR26nY8FMmAs4cww5rpnVyRkPDv2WQcVBLEKrtLTQy8mjL+twUKv9TLo/SXZYHZOIETzmquWoLYlnY3dSb+w==
"@fastify/session@10.9.0":
version "10.9.0"
resolved "https://registry.yarnpkg.com/@fastify/session/-/session-10.9.0.tgz#7c703a4513274a5a183bd3095eb9b49714b494a5"
integrity sha512-u/c42RuAaxCeEuRCAwK2+/SfGqKOd0NSyRzEvDwFBWySQoKUZQyb9OmmJSWJBbOP1OfaU2OsDrjbPbghE1l/YQ==
dependencies:
fastify-plugin "^4.0.0"
safe-stable-stringify "^2.3.1"
Expand Down

0 comments on commit bf46696

Please sign in to comment.