Skip to content

Commit b578413

Browse files
committed
address the feedbacks
1 parent 3a86009 commit b578413

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/utils/apiRequests/api.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,23 @@ interface GetAuthRequestOptions extends BaseRequestOptions {
2626
queryParams?: { [key: string]: string };
2727
version?: string;
2828
}
29-
interface PostAuthRequestOptions<T> extends BaseRequestOptions {
29+
interface PostAuthRequestOptions extends BaseRequestOptions {
3030
token: string | null;
31-
data: T;
31+
data: any;
3232
logoutUser: (value?: string | undefined) => void;
3333
headers?: Record<string, string>;
3434
}
3535
interface DeleteAuthRequestOptions extends BaseRequestOptions {
3636
token: string | null;
3737
logoutUser: (value?: string | undefined) => void;
3838
}
39-
interface PutAuthRequestOptions<T> extends BaseRequestOptions {
39+
interface PutAuthRequestOptions extends BaseRequestOptions {
4040
token: string | null;
41-
data?: T;
41+
data?: any;
4242
logoutUser: (value?: string | undefined) => void;
4343
}
44-
interface PostRequestOptions<T> extends BaseRequestOptions {
45-
data: T;
44+
interface PostRequestOptions extends BaseRequestOptions {
45+
data: any;
4646
}
4747
interface GetRequestOptions extends BaseRequestOptions {
4848
queryParams?: { [key: string]: string };

0 commit comments

Comments
 (0)