From bac5742456a57544dddf0c1487669e1762025c94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Isaksen?= Date: Tue, 26 Mar 2024 19:07:18 +0100 Subject: [PATCH] fix: change url to gateway-api --- services/api/climate/locations.ts | 2 +- services/api/climate/readings.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/api/climate/locations.ts b/services/api/climate/locations.ts index ab1f33f..08c4f18 100644 --- a/services/api/climate/locations.ts +++ b/services/api/climate/locations.ts @@ -1,4 +1,4 @@ import { climateReadingGet } from './host'; export const getLocations = () => - climateReadingGet('/climate-api/location') + climateReadingGet('/gateway-api/climate-api/location') diff --git a/services/api/climate/readings.ts b/services/api/climate/readings.ts index 4fa3ba3..5c60be7 100644 --- a/services/api/climate/readings.ts +++ b/services/api/climate/readings.ts @@ -1,4 +1,4 @@ import { climateReadingGet } from './host'; export const getReadings = (location: string) => - climateReadingGet(`/climate-api/reading/${location}`) + climateReadingGet(`/gateway-api/climate-api/reading/${location}`)