Skip to content

Commit

Permalink
fix: change url to gateway-api
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindis committed Mar 27, 2024
1 parent 6610485 commit bac5742
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/api/climate/locations.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { climateReadingGet } from './host';

export const getLocations = () =>
climateReadingGet('/climate-api/location')
climateReadingGet('/gateway-api/climate-api/location')
2 changes: 1 addition & 1 deletion services/api/climate/readings.ts
Original file line number Diff line number Diff line change
@@ -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}`)

0 comments on commit bac5742

Please sign in to comment.