Skip to content

Commit

Permalink
291st Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyam-Chen committed Mar 20, 2024
1 parent a174603 commit 0f2d76b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 38 deletions.
5 changes: 2 additions & 3 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,14 @@
"@tirke/node-cache-manager-ioredis": "^3.6.0",
"async-cache-dedupe": "^2.1.0",
"bree": "^9.2.2",
"bullmq": "^5.4.2",
"bullmq": "^5.4.3",
"cache-manager": "^5.4.0",
"exceljs": "^4.4.0",
"fastify": "^4.26.2",
"fastify-cloudinary": "^1.2.0",
"fastify-i18n": "^1.2.0",
"fastify-plugin": "^4.5.1",
"fastify-sse-v2": "^3.1.2",
"fastify-uws": "^0.6.0",
"fastify-uws": "^0.6.1",
"generate-password": "^1.7.1",
"ioredis": "^5.3.2",
"nodemailer": "^6.9.12",
Expand Down
4 changes: 1 addition & 3 deletions app/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ import multipart from '@fastify/multipart';
import rateLimit from '@fastify/rate-limit';
import redis from '@fastify/redis';
import underPressure from '@fastify/under-pressure';
// import websocket from '@fastify/websocket';
import fastify from 'fastify';
import cloudinary from 'fastify-cloudinary';
import { FastifySSEPlugin as eventsource } from 'fastify-sse-v2';
import { serverFactory, websocket } from 'fastify-uws';
import { eventsource, serverFactory, websocket } from 'fastify-uws';

import error from '~/plugins/error';
import i18n from '~/plugins/i18n';
Expand Down
2 changes: 1 addition & 1 deletion app/src/routes/sse/event/+handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default async (app: FastifyInstance) => {

sseEmitter.on('send', (data) => {
index += 1;
reply.sse({ id: String(index), data: JSON.stringify(data) });
reply.sse({ id: String(index), data });
});
});

Expand Down
2 changes: 1 addition & 1 deletion db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"private": true,
"type": "module",
"dependencies": {
"date-fns": "^3.5.0"
"date-fns": "^3.6.0"
}
}
52 changes: 22 additions & 30 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0f2d76b

Please sign in to comment.