Skip to content

Commit

Permalink
Fix issue with missed users
Browse files Browse the repository at this point in the history
  • Loading branch information
ed-asriyan committed Jan 20, 2025
1 parent b7400d7 commit 7046ae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/supabase-fetch-users.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: Fetch users UUIDs from Supabase
delegate_to: localhost
uri:
url: "{{ config_supabase_project_url }}/rest/v1/users?select=child_uuid"
url: "{{ config_supabase_project_url }}/rest/v1/users_all?select=uuid"
method: GET
headers:
apikey: "{{ config_supabase_secret_api_key }}"
Expand All @@ -11,4 +11,4 @@
- name: Set user UUIDs fact
delegate_to: localhost
set_fact:
config_local_users: "{{ supabase_users_response.json | map(attribute='child_uuid') | list }}"
config_local_users: "{{ supabase_users_response.json | map(attribute='uuid') | list }}"

0 comments on commit 7046ae2

Please sign in to comment.