feat: nextjs upgrade

This commit is contained in:
Nevo David 2025-12-22 17:36:23 +07:00
parent 1114bbd8df
commit 9c2abfb47f
5 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@ import { CreateAgencyDto } from '@gitroom/nestjs-libraries/dtos/agencies/create.
export class AgenciesController {
constructor(private _agenciesService: AgenciesService) {}
@Get('/')
async getAgencyByUsers(@GetUserFromRequest() user: User) {
async getAgencyByUser(@GetUserFromRequest() user: User) {
return (await this._agenciesService.getAgencyByUser(user)) || {};
}

View File

@ -4,9 +4,9 @@ initializeSentry('cron');
import { NestFactory } from '@nestjs/core';
import { CronModule } from './cron.module';
async function start() {
async function bootstrap() {
// some comment again
await NestFactory.createApplicationContext(CronModule);
}
start();
bootstrap();

View File

@ -8,7 +8,7 @@ import { BullMqServer } from '@gitroom/nestjs-libraries/bull-mq-transport-new/st
import { AppModule } from './app/app.module';
async function start() {
async function bootstrap() {
process.env.IS_WORKER = 'true';
// some comment again
@ -22,4 +22,4 @@ async function start() {
await app.listen();
}
start();
bootstrap();

View File

@ -179,7 +179,7 @@
"music-metadata": "^7.14.0",
"nestjs-command": "^3.1.4",
"nestjs-real-ip": "^3.0.1",
"next": "^14.2.35",
"next": "14.2.35",
"next-plausible": "^3.12.0",
"node-fetch": "^3.3.2",
"node-telegram-bot-api": "^0.66.0",

View File

@ -415,7 +415,7 @@ importers:
specifier: ^3.0.1
version: 3.0.1(@nestjs/common@10.4.20(class-transformer@0.5.1)(class-validator@0.14.2)(reflect-metadata@0.1.14)(rxjs@7.8.2))
next:
specifier: ^14.2.35
specifier: 14.2.35
version: 14.2.35(@babel/core@7.28.5)(@opentelemetry/api@1.9.0)(@playwright/test@1.56.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.94.1)
next-plausible:
specifier: ^3.12.0