budibase/packages/worker/src/initPro.ts

13 lines
248 B
TypeScript
Raw Normal View History

2023-03-13 14:25:19 +01:00
import { sdk as proSdk } from "@budibase/pro"
import * as userSdk from "./sdk/users"
export const initPro = async () => {
await proSdk.init({
scimUserServiceConfig: {
functions: {
saveUser: userSdk.save,
},
},
})
}