Skip to content

Commit

Permalink
admin apis
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g committed Sep 24, 2023
1 parent 29bd91c commit 1e5dbb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/need/need.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export class NeedController {
flaskNeed.id,
);

if (!statuses) {
if (!statuses || !statuses[0]) {
// we do not have a history of purchaser id before implementing our new features
if (new Date(flaskNeed.doneAt).getFullYear() < 2023) {
purchaserId = 31; // Nyaz
Expand Down

0 comments on commit 1e5dbb6

Please sign in to comment.