Skip to content

Commit 9c2abfb

Browse files
committed
feat: nextjs upgrade
1 parent 1114bbd commit 9c2abfb

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

apps/backend/src/api/routes/agencies.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { CreateAgencyDto } from '@gitroom/nestjs-libraries/dtos/agencies/create.
1010
export class AgenciesController {
1111
constructor(private _agenciesService: AgenciesService) {}
1212
@Get('/')
13-
async getAgencyByUsers(@GetUserFromRequest() user: User) {
13+
async getAgencyByUser(@GetUserFromRequest() user: User) {
1414
return (await this._agenciesService.getAgencyByUser(user)) || {};
1515
}
1616

apps/cron/src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ initializeSentry('cron');
44
import { NestFactory } from '@nestjs/core';
55
import { CronModule } from './cron.module';
66

7-
async function start() {
7+
async function bootstrap() {
88
// some comment again
99
await NestFactory.createApplicationContext(CronModule);
1010
}
1111

12-
start();
12+
bootstrap();

apps/workers/src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { BullMqServer } from '@gitroom/nestjs-libraries/bull-mq-transport-new/st
88

99
import { AppModule } from './app/app.module';
1010

11-
async function start() {
11+
async function bootstrap() {
1212
process.env.IS_WORKER = 'true';
1313

1414
// some comment again
@@ -22,4 +22,4 @@ async function start() {
2222
await app.listen();
2323
}
2424

25-
start();
25+
bootstrap();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
"music-metadata": "^7.14.0",
180180
"nestjs-command": "^3.1.4",
181181
"nestjs-real-ip": "^3.0.1",
182-
"next": "^14.2.35",
182+
"next": "14.2.35",
183183
"next-plausible": "^3.12.0",
184184
"node-fetch": "^3.3.2",
185185
"node-telegram-bot-api": "^0.66.0",

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)