chore: remove unneeded binding

This commit is contained in:
Fu Zi Xiang 2023-11-06 13:54:45 +08:00
parent b785b1a482
commit a6f7198443
No known key found for this signature in database
GPG Key ID: 7AE0884D237CEE16
1 changed files with 2 additions and 2 deletions

View File

@ -228,9 +228,9 @@ async fn setup_admin_account(
UPDATE auth.users
SET role = 'supabase_admin', email_confirmed_at = NOW()
WHERE id = $1
"#, user_id
"#,
user_id
)
// .bind(user.id)
.execute(pg_pool)
.await
.context("failed to update the admin user")?;