Skip to content

Commit

Permalink
[backend] bugfix directory already exists, when another user created …
Browse files Browse the repository at this point in the history
…that
  • Loading branch information
aahnik committed May 16, 2024
1 parent 9a60e18 commit f4a45db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/spaces/spaces.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ export class SpacesService {
);

const existingFileObject = await this.filesModel.findOne({
owner: createFileDto.owner,
spaceParent: createFileDto.spaceParent,
fileName: createFileDto.fileName,
});
Expand Down

0 comments on commit f4a45db

Please sign in to comment.