Skip to content

Commit

Permalink
parseint permission
Browse files Browse the repository at this point in the history
  • Loading branch information
petersalomonsen committed Dec 25, 2023
1 parent 6367e3f commit ac5ca36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nearboswidget/widget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function createRepository() {
Near.call("wasmgit.near", "set_permission", {
path: repositoryName,
account_id: accountId,
permission: permission
permission: parseInt(''+permission)
},
undefined
, "100000000000000000000000"
Expand Down

0 comments on commit ac5ca36

Please sign in to comment.