From 89e59b928b72b2ce1c5b2a2a3943dc9d0502579f Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Thu, 18 Jul 2024 09:06:39 +0200 Subject: [PATCH] fix(api): remove named() All contexts should be properly named. BREAKING CHANGE: removes the Context.named() method --- api/Context.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/api/Context.ts b/api/Context.ts index 80a921d..29b2f71 100644 --- a/api/Context.ts +++ b/api/Context.ts @@ -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`), }