Skip to content

Commit

Permalink
fix compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Paterick committed Sep 12, 2023
1 parent dcf39f4 commit 5ba064d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/stores/useHolochainStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const makeUseHolochainStore = ({ installed_app_id, app_ws_url, is_hpos_served, h
resolve()
})
},
async getKycLevel(_, _) {
async getKycLevel(_, __) {
return null // raw holochain doesn't have a mechanism for fetching agent's kyc level
},
}
Expand Down
2 changes: 1 addition & 1 deletion src/stores/useHoloportAPIStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const makeUseHoloportAPIStore = ({ useHolochainStore }) => defineStore('holoport
throw new Error(`No case in hposCall for ${method} method`)
}
},
async getKycLevel(_, _) {
async getKycLevel(_, __) {
const kycLevel = await this.hposHolochainCall({path: 'kyc', headers: {}, params: {}, method: 'get'})
return kycLevel ? (kycLevel === kycLevel2) ? 2 : 1 : null
},
Expand Down

0 comments on commit 5ba064d

Please sign in to comment.