π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
feat: postiz oauth fix
Nevo David41fcb08834b2
diff --git a/libraries/nestjs-libraries/src/database/prisma/oauth/oauth.repository.ts b/libraries/nestjs-libraries/src/database/prisma/oauth/oauth.repository.tsindex 804452999..91caecc75 100644--- a/libraries/nestjs-libraries/src/database/prisma/oauth/oauth.repository.ts+++ b/libraries/nestjs-libraries/src/database/prisma/oauth/oauth.repository.ts@@ -70,8 +70,10 @@ export class OAuthRepository {) {return this._oauthApp.model.oAuthApp.update({where: {- organizationId: orgId,- deletedAt: null,+ organizationId_deletedAt: {+ organizationId: orgId,+ deletedAt: null,+ },},data,include: {@@ -83,7 +85,10 @@ export class OAuthRepository {deleteApp(orgId: string) {return this._oauthApp.model.oAuthApp.update({where: {- organizationId: orgId,+ organizationId_deletedAt: {+ organizationId: orgId,+ deletedAt: null,+ },},data: {deletedAt: new Date(),@@ -94,8 +99,10 @@ export class OAuthRepository {updateClientSecret(orgId: string, newSecret: string) {return this._oauthApp.model.oAuthApp.update({where: {- organizationId: orgId,- deletedAt: null,+ organizationId_deletedAt: {+ organizationId: orgId,+ deletedAt: null,+ },},data: {clientSecret: newSecret,