fix: eslint
This commit is contained in:
@ -67,7 +67,7 @@ function callApi(
|
||||
|
||||
function postApi(
|
||||
endpoint: string,
|
||||
data: any,
|
||||
data: unknown, //to fix eslint issue, go back here if errors occurs later
|
||||
onSuccessHandler?: (response: AxiosResponse) => void,
|
||||
onErrorHandler?: (error: AxiosError) => void
|
||||
): void {
|
||||
|
Reference in New Issue
Block a user