Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

r1tikpatil
Copy link
Contributor

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:

  • The pull request only addresses one issue or adds one feature.
  • I have linked an issue to the pull request.
  • I have linked a PR type label to the pull request.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.

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.

@r1tikpatil r1tikpatil added the bug Something isn't working label Mar 27, 2025
@r1tikpatil r1tikpatil self-assigned this Mar 27, 2025
Copy link

👋 Hey, the Quality Gate has FAILED.
💣Status: ERROR,
MetricKey: new_coverage
Comparator: LT
ErrorThreshold: 80
ActualValue: 0.0

💣Status: ERROR,
MetricKey: new_duplicated_lines_density
Comparator: GT
ErrorThreshold: 3
ActualValue: 10.64861

💣Status: ERROR,
MetricKey: new_security_hotspots_reviewed
Comparator: LT
ErrorThreshold: 100
ActualValue: 0.0

Copy link

SonarQube Quality Gate Result

  • Result: ❗ Error
  • Triggered by @r1tikpatil on pull_request
Metric Status Value Error Threshold
New reliability rating ✅ OK 1 > 1
New security rating ✅ OK 1 > 1
New maintainability rating ✅ OK 1 > 1
New coverage ❗ Error 0 < 80
New duplicated lines density ❗ Error 10.65 > 3
New security hotspots reviewed ❗ Error 0 < 100

View on SonarQube

updated: 3/27/2025, 10:36:31 (UTC+0)

@nagesh953 nagesh953 added pr-bugfix This PR fixes a bug and removed bug Something isn't working labels Mar 28, 2025
@@ -283,6 +283,8 @@ export class collectionController {
user.name,
requestDto?.folderId,
);
// update the updateAt timestamp
await this.workSpaceService.update(workspaceId, {});
Copy link
Member

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, {});
Copy link
Member

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, {});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix This PR fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants