Skip to content

Commit

Permalink
fix(Permission): BigInt deny 0 if not present in data (#1495)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsian03 authored Apr 20, 2024
1 parent 7524a40 commit 7f9ef8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/structures/Permission.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Permission extends Base {

update(data) {
this.allow = BigInt(data.allow);
this.deny = BigInt(data.deny) || 0;
this.deny = BigInt(data.deny || 0);
}

get json() {
Expand Down

0 comments on commit 7f9ef8c

Please sign in to comment.