From 7046ae26be18e692646453b25cc7e8e73d7ee295 Mon Sep 17 00:00:00 2001 From: Ed Asriyan Date: Mon, 20 Jan 2025 15:23:21 -0800 Subject: [PATCH] Fix issue with missed users --- tasks/supabase-fetch-users.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/supabase-fetch-users.yml b/tasks/supabase-fetch-users.yml index d273efa..ce569ce 100644 --- a/tasks/supabase-fetch-users.yml +++ b/tasks/supabase-fetch-users.yml @@ -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 }}" @@ -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 }}"