Skip to content

Commit

Permalink
auto need confirm
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g committed Apr 19, 2024
1 parent 0fd1bdc commit 42025c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/need/need.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,13 +371,13 @@ export class NeedController {
);
if (
need.type === NeedTypeEnum.PRODUCT &&
filtered.length <= SIMILAR_NAME_LIMIT_PRODUCT
filtered.length < SIMILAR_NAME_LIMIT_PRODUCT
) {
errorMsg = `Similar count error, only ${filtered.length}.`;
}
if (
need.type === NeedTypeEnum.SERVICE &&
filtered.length <= SIMILAR_NAME_LIMIT_SERVICE
filtered.length < SIMILAR_NAME_LIMIT_SERVICE
) {
errorMsg = `Similar count error, only ${filtered.length}.`;
}
Expand Down

0 comments on commit 42025c0

Please sign in to comment.