chore: remove unneeded binding
This commit is contained in:
parent
b785b1a482
commit
a6f7198443
|
|
@ -228,9 +228,9 @@ async fn setup_admin_account(
|
||||||
UPDATE auth.users
|
UPDATE auth.users
|
||||||
SET role = 'supabase_admin', email_confirmed_at = NOW()
|
SET role = 'supabase_admin', email_confirmed_at = NOW()
|
||||||
WHERE id = $1
|
WHERE id = $1
|
||||||
"#, user_id
|
"#,
|
||||||
|
user_id
|
||||||
)
|
)
|
||||||
// .bind(user.id)
|
|
||||||
.execute(pg_pool)
|
.execute(pg_pool)
|
||||||
.await
|
.await
|
||||||
.context("failed to update the admin user")?;
|
.context("failed to update the admin user")?;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue