Skip to content

Commit

Permalink
Fixes logic in isUnique
Browse files Browse the repository at this point in the history
  • Loading branch information
dmf444 committed Apr 6, 2024
1 parent a63af2c commit 3b75829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/database/WebDatabaseHttp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class WebDatabaseHttp implements IWebDatabase {
if(finalResponse.status === 200){
let jsonResp = await finalResponse.json();
if(jsonResp.success){
return jsonResp.isUnique;
return !jsonResp.isUnique;
}
} else {
log.warn("[WebdatabaseHTTP] Unable to get tags from webserver, returned status code " + finalResponse.status);
Expand Down

0 comments on commit 3b75829

Please sign in to comment.