Skip to content

Commit ee1987e

Browse files
authored
Merge pull request #376 from porters-xyz/develop
Bugfix - Delete App failing with Internal Server Error
2 parents 882e8d5 + 5005542 commit ee1987e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-portal/backend/src/apps/apps.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export class AppsService {
122122
const deletedAt = new Date()
123123

124124
const deletedApp = await this.prisma.client.app.update({
125-
where: { id: appId, deletedAt: { not: null } },
125+
where: { id: appId, deletedAt: null },
126126
data: { deletedAt },
127127
});
128128

0 commit comments

Comments
 (0)