Skip to content

Commit

Permalink
fix: officer,date outcome animal bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Scarlett-Truong committed Jun 24, 2024
1 parent 06e7cfd commit 7690882
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/src/case_file/case_file.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2182,11 +2182,12 @@ export class CaseFileService {
) => {
try {
//-- if there are no actions present then remove all
//-- actions that are associated with the caseIdentifier
//-- actions that are associated with the wildlifeId and caseIdentifier
if (!actions || actions?.length === 0) {
await db.action.updateMany({
where: {
case_guid: caseIdentifier,
wildlife_guid: wildlifeId,
},
data: {
active_ind: false,
Expand Down

0 comments on commit 7690882

Please sign in to comment.