-
Notifications
You must be signed in to change notification settings - Fork 37
fix: last updates time bug in workspace #349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Conversation
👋 Hey, the Quality Gate has FAILED. 💣Status: ERROR, 💣Status: ERROR, |
SonarQube Quality Gate Result
updated: 3/27/2025, 10:36:31 (UTC+0) |
@@ -283,6 +283,8 @@ export class collectionController { | |||
user.name, | |||
requestDto?.folderId, | |||
); | |||
// update the updateAt timestamp | |||
await this.workSpaceService.update(workspaceId, {}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of updating the timestamp here, call workspaceRepository.update inside collectionRequestService.addRequest.
@@ -316,7 +318,8 @@ export class collectionController { | |||
requestId, | |||
requestDto, | |||
); | |||
|
|||
// update the updateAt timestamp | |||
await this.workSpaceService.update(workspaceId, {}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above.
@@ -354,7 +357,8 @@ export class collectionController { | |||
requestDto, | |||
); | |||
const collection = await this.collectionService.getCollection(collectionId); | |||
|
|||
// update the updateAt timestamp | |||
await this.workSpaceService.update(workspaceId, {}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above.
Description
Add your description here.
Add Issue Number
Fixes #
Add Screenshots/GIFs
If applicable, add relevant screenshot/gif here.
Add Known Issue
If applicable, add any known issues.
Contribution Checklist:
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.