9 lines
241 B
TypeScript
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;
|
|
};
|