Skip to content

Commit

Permalink
feat: allow user to fork own documents
Browse files Browse the repository at this point in the history
  • Loading branch information
alsakhaev committed Nov 13, 2024
1 parent bb01dee commit a75bf48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/backend/src/services/document/document.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class DocumentSerivce {
const savedDocument = await this.documentRepository.createItem(document)

if (
mutation.apps.some((app) => app.appId === appId && app.documentId === document.id) ||
!mutation.apps.some((app) => app.appId === appId && app.documentId === document.id) ||
mutation.source === EntitySourceType.Origin
) {
// ToDo: navie implementation
Expand Down

0 comments on commit a75bf48

Please sign in to comment.