From f9a24f313a7020af7a7f587aaefec7e52a2fed9c Mon Sep 17 00:00:00 2001 From: candicecz Date: Mon, 18 Dec 2023 12:22:31 -0500 Subject: [PATCH] chore: update types --- src/utils/api/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/api/index.ts b/src/utils/api/index.ts index 927a1aba..3f4f594d 100644 --- a/src/utils/api/index.ts +++ b/src/utils/api/index.ts @@ -22,7 +22,7 @@ export interface Params { export const getResourceById = async ( id?: string | string[], - params?: Params, + params?: Partial, ) => { if (!id) { return;