Skip to content

Commit

Permalink
Deploy script change
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjameson committed Oct 23, 2023
1 parent 6c7227b commit 9f2bee2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion create-default-groups.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,10 @@ const main = async (options) => {
// if no Admin found, create one
if (orgAdminProfile.data.length === 0) {
// Create the Admin user
const createAdminUserResponse = await supabase.auth.signUp({
const createAdminUserResponse = await supabase.auth.admin.createUser({
email: config.admin.admin_email,
password: process.env.ORG_ADMIN_PW,
email_confirm: true,
});

supabase = createClient(
Expand Down

0 comments on commit 9f2bee2

Please sign in to comment.