Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Feb 8, 2024
1 parent bf6930a commit 77b97fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/pds/src/phone-verification/plivo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export class PlivoClient {

async sendCode(phoneNumber: string) {
try {
// @NOTE: the trailing slash on the url is necessary
const res = await this.makeReq(
`https://api.plivo.com/v1/Account/${this.authId}/Verify/Session/`,
{
Expand Down Expand Up @@ -76,6 +77,7 @@ export class PlivoClient {
const sessionId = res.sessionId

try {
// @NOTE: the trailing slash on the url is necessary
await this.makeReq(
`https://api.plivo.com/v1/Account/${this.authId}/Verify/Session/${sessionId}/`,
{
Expand Down

0 comments on commit 77b97fc

Please sign in to comment.