Skip to content

Commit

Permalink
Return boolean on duplicate stored
Browse files Browse the repository at this point in the history
  • Loading branch information
ssylver93 committed Apr 17, 2024
1 parent 67cd94e commit 6ac291a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ try {
}

// Reject duplicate if submissionID has already been stored
if(duplicateStored) return;
if(duplicateStored) return true;

// Send the report to the server
const response =
Expand Down

0 comments on commit 6ac291a

Please sign in to comment.