add
This commit is contained in:
@@ -71,6 +71,7 @@ import {
|
||||
statusContext,
|
||||
token,
|
||||
trendsTags,
|
||||
updateMarkers,
|
||||
unbookmarkStatus,
|
||||
unfavouriteStatus,
|
||||
unfollowAccount,
|
||||
@@ -203,6 +204,7 @@ async function route(request: Request, env: Env): Promise<Response> {
|
||||
if (method === "GET" && path === "/api/v1/filters") return filtersV1(request, env);
|
||||
if (method === "GET" && path === "/api/v1/trends/tags") return trendsTags(env);
|
||||
if (method === "GET" && path === "/api/v1/markers") return markersList(request, env);
|
||||
if (method === "POST" && path === "/api/v1/markers") return updateMarkers(request, env);
|
||||
if (method === "GET" && path === "/api/v1/push/subscription") return getPushSubscription(request, env);
|
||||
if (method === "POST" && path === "/api/v1/push/subscription") return createPushSubscription(request, env);
|
||||
if (method === "PUT" && path === "/api/v1/push/subscription") return updatePushSubscription(request, env);
|
||||
|
||||
Reference in New Issue
Block a user