Skip to content

Commit

Permalink
fix(api): remove named()
Browse files Browse the repository at this point in the history
All contexts should be properly named.

BREAKING CHANGE: removes the Context.named() method
  • Loading branch information
coderbyheart committed Jul 18, 2024
1 parent 3f03ada commit 89e59b9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/Context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ export const Context = {
request: new URL(`${baseURL}/share-device-request`),
ownershipConfirmed: new URL(`${baseURL}/share-device-ownership-confirmed`),
},
named: (name: string): URL => new URL(`${baseURL}/${name}`),
apiHealth: new URL(`${baseURL}/api/health`),
}

0 comments on commit 89e59b9

Please sign in to comment.