16 lines
393 B
TypeScript
16 lines
393 B
TypeScript
![]() |
import { makeRequest } from "@frontend/kitui";
|
||
|
|
||
|
import type { Verification } from "@root/model/auth";
|
||
|
|
||
|
const apiUrl =
|
||
|
process.env.NODE_ENV === "production" ? "" : "https://hub.pena.digital";
|
||
|
|
||
|
export function verification() {
|
||
|
return makeRequest<never, Verification>({
|
||
|
url: apiUrl + "/verification/verification",
|
||
|
method: "GET",
|
||
|
useToken: true,
|
||
|
withCredentials: true,
|
||
|
});
|
||
|
}
|