This commit is contained in:
sianida26 2024-05-11 00:34:33 +07:00
parent dd0a0460eb
commit e2bba609e6
2 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,4 @@
import { Hono } from "hono";
import DashboardError from "../../errors/DashboardError";
import authInfo from "../../middlewares/authInfo";
import HonoEnv from "../../types/HonoEnv";

View File

@ -17,7 +17,7 @@ async function fetchRPC<T>(
if (res.ok) {
const data = await res.json();
return data;
return data as BlankRecordToNever<T>;
}
//TODO: Add error reporting