From 896f162db126bc4cf985ddfeb2654c54de69fa77 Mon Sep 17 00:00:00 2001 From: devnamrits Date: Mon, 7 Mar 2022 16:19:23 +0530 Subject: [PATCH] Removed tags as well --- web/spec/supabase.yml | 48 +++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml index 7d0a708e4fa..d0ff6c4a86e 100644 --- a/web/spec/supabase.yml +++ b/web/spec/supabase.yml @@ -892,55 +892,55 @@ pages: isSpotlight: true js: | ```js - const { data: user, error } = await supabase.auth.api.updateUserById({ - uid: '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4', - attributes: { email: 'new@email.com' }, - }) + const { data: user, error } = await supabase.auth.api.updateUserById( + '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4', + { email: 'new@email.com' } + ) ``` - name: Updates a user's password. isSpotlight: true js: | ```js - const { data: user, error } = await supabase.auth.api.updateUserById({ - uid: '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4', - attributes: { password: 'new@email.com' }, - }) + const { data: user, error } = await supabase.auth.api.updateUserById( + '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4', + { password: 'new@email.com' } + ) ``` - name: Updates a user's metadata. isSpotlight: true js: | ```js - const { data: user, error } = await supabase.auth.api.updateUserById({ - uid: '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4', - attributes: { user_metadata: { hello: 'world' } }, - }) + const { data: user, error } = await supabase.auth.api.updateUserById( + '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4', + { user_metadata: { hello: 'world' } } + ) ``` - name: Updates a user's app_metadata. isSpotlight: true js: | ```js - const { data: user, error } = await supabase.auth.api.updateUserById({ - uid: '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4', - attributes: { app_metadata: { plan: 'trial' } }, - }) + const { data: user, error } = await supabase.auth.api.updateUserById( + '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4', + { app_metadata: { plan: 'trial' } } + ) ``` - name: Confirms a user's email address. isSpotlight: true js: | ```js - const { data: user, error } = await supabase.auth.api.updateUserById({ - uid: '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4', - attributes: { email_confirm: true }, - }) + const { data: user, error } = await supabase.auth.api.updateUserById( + '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4', + { email_confirm: true } + ) ``` - name: Confirms a user's phone number. isSpotlight: true js: | ```js - const { data: user, error } = await supabase.auth.api.updateUserById({ - uid: '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4', - attributes: { phone_number: true }, - }) + const { data: user, error } = await supabase.auth.api.updateUserById( + '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4', + { phone_number: true } + ) ``` select():