Skip to content

Commit

Permalink
Merge pull request #237 from canonical/bug/device-api-call
Browse files Browse the repository at this point in the history
Fix path
  • Loading branch information
nsklikas committed Apr 30, 2024
2 parents a31c917 + e7ffc03 commit 467c38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/pages/device_code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface Response {

async function acceptUserCode(userCode: string, challenge: string) {
return axios
.put(`./api/device?device_challenge=${challenge}`, {
.put(`../api/device?device_challenge=${challenge}`, {
user_code: userCode,
})
.then(({ data }: Response) => {
Expand Down

0 comments on commit 467c38d

Please sign in to comment.