Skip to content

Commit

Permalink
remove else
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpatrick committed Aug 22, 2023
1 parent 3d97ebd commit d1ef02d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/api/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,19 @@ class VerifyAPI {
}

return trackTokenRes;
} else {
const trackRes = {
user,
events,
location,
} as RadarTrackResponse;

if (options.debug) {
trackRes.response = response;
}

return trackRes;
}

const trackRes = {
user,
events,
location,
} as RadarTrackResponse;

if (options.debug) {
trackRes.response = response;
}

return trackRes;
}
}

Expand Down

0 comments on commit d1ef02d

Please sign in to comment.