2024-03-05 09:52:36 +00:00

9 lines
241 B
TypeScript

import PocketBase from "pocketbase";
const pb = new PocketBase("https://ci-pb.xiaomiwh.cn");
export const getTenantAccessToken = async () => {
const { value } = await pb.collection("config").getOne("ugel8f0cpk0rut6");
return value;
};