Skip to content

Commit

Permalink
Type
Browse files Browse the repository at this point in the history
  • Loading branch information
adrinr committed Jan 14, 2025
1 parent ca1015b commit 41c8ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/builder/src/helpers/fetchData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function (url: string) {
async function get() {
store.update(u => ({ ...u, status: "LOADING" }))
try {
const data = await API.get<any>({ url })
const data = await API.get<object>({ url })
store.set({ data, status: "SUCCESS" })
} catch (e) {
store.set({ data: {}, error: e, status: "ERROR" })
Expand Down

0 comments on commit 41c8ab9

Please sign in to comment.