From 7cbe172962266031637b03c3f2bf2c91f44605ee Mon Sep 17 00:00:00 2001 From: Benjamin Howe Date: Thu, 18 Jul 2024 21:39:55 +0100 Subject: [PATCH] Rename raildata function --- .../{nreDepartures => raildata/departures}/v1/[[departures]].js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename functions/api/{nreDepartures => raildata/departures}/v1/[[departures]].js (98%) diff --git a/functions/api/nreDepartures/v1/[[departures]].js b/functions/api/raildata/departures/v1/[[departures]].js similarity index 98% rename from functions/api/nreDepartures/v1/[[departures]].js rename to functions/api/raildata/departures/v1/[[departures]].js index 1621abe..8e4259f 100644 --- a/functions/api/nreDepartures/v1/[[departures]].js +++ b/functions/api/raildata/departures/v1/[[departures]].js @@ -1,4 +1,4 @@ -import { USER_AGENT } from "../../../../functions-src/util"; +import { USER_AGENT } from "../../../../../functions-src/util"; // TODO: allow these values to be customised through request params const NUM_SERVICES = 4;