Fix Master API crash by removing the duplicate F1 news route.
This commit is contained in:
parent
91e6259f3f
commit
b911a4a7a7
1 changed files with 0 additions and 7 deletions
|
|
@ -934,13 +934,6 @@ export function registerViewerRoutes(
|
|||
return getF1NewsArticle(id);
|
||||
});
|
||||
|
||||
app.get("/api/v1/client/f1/news/:id", async (request) => {
|
||||
await viewers.authFromBearer(request.headers.authorization);
|
||||
const { id } = request.params as { id: string };
|
||||
const { getF1NewsArticle } = await import("../openf1/news");
|
||||
return getF1NewsArticle(id);
|
||||
});
|
||||
|
||||
app.get("/api/v1/client/viaplay/home", async (request) => {
|
||||
const auth = await viewers.authFromBearer(request.headers.authorization);
|
||||
const { resolveViewerLiveEventsAccess } = await import("./schedule-events");
|
||||
|
|
|
|||
Loading…
Reference in a new issue