We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb01dee commit a75bf48Copy full SHA for a75bf48
libs/backend/src/services/document/document.service.ts
@@ -146,7 +146,7 @@ export class DocumentSerivce {
146
const savedDocument = await this.documentRepository.createItem(document)
147
148
if (
149
- mutation.apps.some((app) => app.appId === appId && app.documentId === document.id) ||
+ !mutation.apps.some((app) => app.appId === appId && app.documentId === document.id) ||
150
mutation.source === EntitySourceType.Origin
151
) {
152
// ToDo: navie implementation
0 commit comments