Skip to content

Commit

Permalink
try trigger 2
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienFT committed Apr 2, 2024
1 parent 316ad21 commit 7b6bf7b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export function changeAdmin(argsSer: StaticArray<u8>): void {
Storage.set("admin", newAdmin.toString());
}


export function getAdmin(): StaticArray<u8> {
controller.mustHaveAnyPermission(USER | ADMIN, caller());
return stringToBytes(Storage.get("admin"));
Expand Down

0 comments on commit 7b6bf7b

Please sign in to comment.