Skip to content

Commit 013c71d

Browse files
authored
Update guide-proof-of-citizenship.mdx (#55)
Fixed backend urls in "Check user status" section
1 parent 6bdd99e commit 013c71d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/zk-passport/guide-proof-of-citizenship.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Here is a JS snippet for doing this
139139
const backendUrl = 'https://api.app.rarime.com/'
140140
const userId = 'some-user-id' // the `id` from step #2
141141

142-
const response = await fetch(`${backendUrl}/integrations/verification-svc/light/private/verification-status/${userId}`)
142+
const response = await fetch(`${backendUrl}/integrations/verificator-svc/light/private/verification-status/${userId}`)
143143
const { data } = await response.json()
144144

145145
// responseUserId === userId
@@ -156,7 +156,7 @@ const verificationStatus = data.attributes.status
156156
If the user has status `verified`, you can fetch the verified citizenship code like this:
157157

158158
```jsx
159-
const response = await fetch(`${backendUrl}/integrations/verification-svc/light/private/user/${userId}`)
159+
const response = await fetch(`${backendUrl}/integrations/verificator-svc/light/private/user/${userId}`)
160160
const { data } = await response.json()
161161

162162
// ISO 3166 alpha-3 country code: https://www.iban.com/country-codes

0 commit comments

Comments
 (0)