lint
This commit is contained in:
parent
dd0a0460eb
commit
e2bba609e6
|
|
@ -1,5 +1,4 @@
|
|||
import { Hono } from "hono";
|
||||
import DashboardError from "../../errors/DashboardError";
|
||||
import authInfo from "../../middlewares/authInfo";
|
||||
import HonoEnv from "../../types/HonoEnv";
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user