Skip to content

Commit

Permalink
GITBOOK-483: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
dhadrien authored and gitbook-bot committed Jul 10, 2023
1 parent 5ae9101 commit 79c7616
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions build-with-sismo-connect/getting-started-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,11 @@ app.post('/api', (req, res) => {
const { response } = req.body;
const result: SismoConnectVerifiedResult = await sismoConnect.verify(response, {
/ request proof of Data Sources ownership (e.g EVM, GitHub, twitter or telegram)
auths={[{ authType: AuthType.GITHUB }]}
auths=[{ authType: AuthType.GITHUB }]
// request group membership (e.g NFT ownership, Dao Participation, GitHub commits)
claims=[{{groupId: ENS_DAO_VOTERS_GROUP_ID}}]
claims=[{groupId: ENS_DAO_VOTERS_GROUP_ID}]
// request message signature from users.
signature={message: "I vote Yes to Privacy"}}
signature={message: "I vote Yes to Privacy"}
},
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ const config: SismoConnectConfig = {
auths={[{ authType: AuthType.GITHUB }]}
// request proof of Data Group memberships of source
// (e.g part of NFT owners, Dao Participants, GitHub commiters)
claims=[{{groupId: ENS_DAO_VOTERS_GROUP_ID}}]
claims={[{groupId: ENS_DAO_VOTERS_GROUP_ID}]}
// request message signature from users.
signature={message: "I vote Yes to Privacy"}}
signature={{message: "I vote Yes to Privacy"}}
onResponseBytes={(response: string) => {
// call your contract/backend with the response as bytes
}
Expand Down Expand Up @@ -156,9 +156,9 @@ const config: SismoConnectConfig = {
auths={[{ authType: AuthType.GITHUB }]}
// request proof of Data Group memberships of source
// (e.g part of NFT owners, Dao Participants, GitHub commiters)
claims=[{{groupId: ENS_DAO_VOTERS_GROUP_ID}}]
claims={[{groupId: ENS_DAO_VOTERS_GROUP_ID}]}
// request message signature from users.
signature={message: "I vote Yes to Privacy"}}
signature={{message: "I vote Yes to Privacy"}}
onResponseBytes={(response: string) => {
// call your contract with the response as bytes
}
Expand Down

0 comments on commit 79c7616

Please sign in to comment.