mirror of
https://github.com/ershisan99/todolist_next.git
synced 2025-12-16 20:59:24 +00:00
fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import type { ApiResponse } from "@/services";
|
import type { ApiResponse } from "@/helpers";
|
||||||
|
|
||||||
export const handleError = <T>(data: ApiResponse<T>): ApiResponse<T> => {
|
export const handleError = <T>(data: ApiResponse<T>): ApiResponse<T> => {
|
||||||
if (data.resultCode !== 0) {
|
if (data.resultCode !== 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user