UNPKG

@artilleryio/platform-fargate

Version:
1 lines 411 B
module.exports={postUser:postUser};const debug=require("debug")("data-api:users:post-user"),createStore=require("../store"),getBackendStore=require("../../utils/get-backend-store");async function postUser(providerId,accountId,username,email,image,opts){var store=createStore(await getBackendStore()),store=(await store.init(),await store.createUser(providerId,accountId,username,email,image,opts));return store}