mirror of
https://github.com/docmost/docmost.git
synced 2026-05-17 23:14:07 +08:00
d7a5fda53c
* feat: feature flag upgrade * fix translations * refactor * fix * fix
8 lines
262 B
TypeScript
8 lines
262 B
TypeScript
import api from "@/lib/api-client";
|
|
import { Entitlements } from "./entitlement.types";
|
|
|
|
export async function getEntitlements(): Promise<Entitlements> {
|
|
const req = await api.post<Entitlements>("/workspace/entitlements");
|
|
return req.data as Entitlements;
|
|
}
|