homebox/frontend/lib/api/classes/actions.ts

11 lines
285 B
TypeScript
Raw Normal View History

2022-11-13 03:57:51 +00:00
import { BaseAPI, route } from "../base";
import { EnsureAssetIDResult } from "../types/data-contracts";
export class ActionsAPI extends BaseAPI {
ensureAssetIDs() {
return this.http.post<void, EnsureAssetIDResult>({
url: route("/actions/ensure-asset-ids"),
});
}
}