Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 authored Sep 25, 2023
1 parent 484ff5e commit c8286cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export function LiveMapTab() {
icon: "info",
});

await execute<PutCADMiscSettingsData>({
await execute<PutCADMiscSettingsData, typeof INITIAL_VALUES>({
path: "/admin/manage/cad-settings/live-map/tiles",
method: "PUT",
data: formData,
Expand All @@ -96,7 +96,7 @@ export function LiveMapTab() {
});
}

const { json } = await execute<PutCADMiscSettingsData>({
const { json } = await execute<PutCADMiscSettingsData, typeof INITIAL_VALUES>({
path: "/admin/manage/cad-settings/live-map",
method: "PUT",
data: { ...values, liveMapURLs },
Expand Down

0 comments on commit c8286cc

Please sign in to comment.