Skip to content

Commit

Permalink
fix: refactor last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mirovladimitrovski committed Sep 25, 2023
1 parent 4236dc4 commit 2f3e135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/inplayer.account.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const register: Register = async ({ config, email, password, customFields
const isBoolean = val === true || val === false;

if (isBoolean && name !== 'terms') {
return val === true ? 'on' : 'off';
return val ? 'on' : 'off';
}

return val;
Expand Down

0 comments on commit 2f3e135

Please sign in to comment.