π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
Feat: add agency
Nevo David5f1565585035
diff --git a/apps/backend/src/api/routes/agencies.controller.ts b/apps/backend/src/api/routes/agencies.controller.tsindex 882841c55..54f7c7773 100644--- a/apps/backend/src/api/routes/agencies.controller.ts+++ b/apps/backend/src/api/routes/agencies.controller.ts@@ -11,7 +11,7 @@ export class AgenciesController {constructor(private _agenciesService: AgenciesService) {}@Get('/')async getAgencyByUser(@GetUserFromRequest() user: User) {- return this._agenciesService.getAgencyByUser(user);+ return (await this._agenciesService.getAgencyByUser(user)) || {};}@Post('/')