import { HOST } from "./common.js"; export async function dummy(token: string) { const res = await fetch(`${HOST}/api/Aperture/dummy`, { method: "POST", headers: { accesstoken: token, }, }); const json = await res.json(); if (!json.isOk) { console.error(json); throw new Error("Tango: error desconocido"); } }