fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import isArray from "lodash-es/isArray";
|
||||
import isEmpty from "lodash-es/isEmpty";
|
||||
import ky from "ky";
|
||||
import type { HttpMethod, InvalidResponse, RawArgType, ValidResponse } from "../apiStructure/defs";
|
||||
import type { HttpMethod, InvalidResponse, RawArgType, ValidResponse } from "../apiStructure/defs.js";
|
||||
|
||||
export async function callClientAPI<ResultType extends ValidResponse>(
|
||||
method: HttpMethod,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { APIPathGen } from "./APIPathGen";
|
||||
import type { APITail, RawArgType } from "../apiStructure/defs";
|
||||
import { structure } from "../apiStructure/sammoRootAPI";
|
||||
import { callClientAPI } from "./generator";
|
||||
import { APIPathGen } from "./APIPathGen.js";
|
||||
import type { APITail, RawArgType } from "../apiStructure/defs.js";
|
||||
import { structure } from "../apiStructure/sammoRootAPI.js";
|
||||
import { callClientAPI } from "./generator.js";
|
||||
|
||||
const apiRoot = process.env.API_ROOT_PATH ?? process.env.VITE_API_ROOT_PATH ?? '/rootAPI';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user