Skip to content

Commit

Permalink
🎨 Add 'profile' permission
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraHuang22 committed Sep 11, 2024
1 parent ee902c6 commit f53723f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/AppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ export default class AppHeader extends Vue {
await this.initWallet(connection)
if (!this.currentAddress || !this.signer) return
const signature = await this.signMessageMemo('authorize', [
'profile',
'read:nftbook',
'write:nftbook',
'read:nftcollection',
Expand Down
1 change: 1 addition & 0 deletions layouts/wallet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export default class WalletLayout extends Vue {
await this.initWallet(connection)
if (!this.walletAddress || !this.signer) return
const signature = await this.signMessageMemo('authorize', [
'profile',
'read:nftbook',
'write:nftbook',
'read:nftcollection',
Expand Down
1 change: 1 addition & 0 deletions pages/auth/redirect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export default class RedirectPage extends Vue {
await this.initWallet(connection)
if (!this.currentAddress || !this.signer) return
const signature = await this.signMessageMemo('authorize', [
'profile',
'read:nftbook',
'write:nftbook',
'read:nftcollection',
Expand Down

0 comments on commit f53723f

Please sign in to comment.