refactor: platform timezone endpoint (#14250)

* refactor: platform timezone endpoint

* fixup! refactor: platform timezone endpoint

* fixup! fixup! refactor: platform timezone endpoint
This commit is contained in:
Morgan authored and GitHub committed 2024-03-28 12:35:51 -03:00
1 parent 26d64bd93f
commit c854dd092c
8 files changed
+66 -37

No files matched your search

@@ -7,7 +7,7 @@ import http from "../lib/http";
const useGetCityTimezones = () => {
const endpoint = new URL(BASE_URL);
endpoint.pathname = `api/${API_VERSION}/schedules/time-zones`;
endpoint.pathname = `api/${API_VERSION}/timezones`;
const { isLoading, data } = useQuery({
queryKey: ["city-timezones"],