Skip to content

Commit f4a45db

Browse files
committed
[backend] bugfix directory already exists, when another user created that
1 parent 9a60e18 commit f4a45db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/spaces/spaces.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ export class SpacesService {
113113
);
114114

115115
const existingFileObject = await this.filesModel.findOne({
116+
owner: createFileDto.owner,
116117
spaceParent: createFileDto.spaceParent,
117118
fileName: createFileDto.fileName,
118119
});

0 commit comments

Comments
 (0)