Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

feat: nextjs upgrade

Nevo David9c2abfb47f0b
diff --git a/apps/backend/src/api/routes/agencies.controller.ts b/apps/backend/src/api/routes/agencies.controller.ts
index 5eb98c60c..e2849f96c 100644
--- a/apps/backend/src/api/routes/agencies.controller.ts
+++ b/apps/backend/src/api/routes/agencies.controller.ts
@@ -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)) || {};
}
diff --git a/apps/cron/src/main.ts b/apps/cron/src/main.ts
index 3d3ece5b4..cc2684f96 100644
--- a/apps/cron/src/main.ts
+++ b/apps/cron/src/main.ts
@@ -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();
diff --git a/apps/workers/src/main.ts b/apps/workers/src/main.ts
index 62173f349..ade2eff02 100644
--- a/apps/workers/src/main.ts
+++ b/apps/workers/src/main.ts
@@ -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();
diff --git a/package.json b/package.json
index b343d87a1..13dd99f15 100644
--- a/package.json
+++ b/package.json
@@ -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",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 48d5c868f..f698af4b4 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -415,7 +415,7 @@ importers:
specifier: ^3.0.1
next:
- specifier: ^14.2.35
+ specifier: 14.2.35
next-plausible:
specifier: ^3.12.0