Skip to content

Commit

Permalink
fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
polunzh committed Sep 18, 2024
1 parent 9ab03d6 commit 6788629
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 0.36.85 (September 18, 2024)

- add no ux claim test case
- add empty claim test case

## 0.36.84 (September 02, 2024)

Expand Down
2 changes: 1 addition & 1 deletion api/functions/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ walletHandlers.attach(Object.assign({ app: router }, require('../routes/auth/dec
walletHandlers.attach(Object.assign({ app: router }, require('../routes/auth/consume-asset')));
walletHandlers.attach(Object.assign({ app: router }, require('../routes/auth/multi-chain')));
walletHandlers.attach(Object.assign({ app: router }, require('../routes/auth/claim-next-url')));
walletHandlers.attach(Object.assign({ app: router }, require('../routes/auth/claim-no-ux')));
walletHandlers.attach(Object.assign({ app: router }, require('../routes/auth/claim-empty')));

require('../routes/session').init(router);
require('../routes/nft').init(router);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
const { User } = require('../../models');

module.exports = {
action: 'claim-no-ux',
action: 'claim-empty',
authPrincipal: false, // disable default auth principal
claims: [
{
Expand Down
4 changes: 2 additions & 2 deletions src/pages/full.js
Original file line number Diff line number Diff line change
Expand Up @@ -835,8 +835,8 @@ export default function IndexPage() {
}}
/>
<AuthButton
button="No UX Claim"
action="claim-no-ux"
button="Empty Claim"
action="claim-empty"
extraParams={{ sessionDid: session.user.did }}
messages={{
title: 'Provide DID',
Expand Down

0 comments on commit 6788629

Please sign in to comment.