Sort by id
This commit is contained in:
parent
91c2b0b4b9
commit
99a0252063
@ -5,7 +5,7 @@
|
||||
import { supabase } from '$lib/supabase';
|
||||
|
||||
const getPeople = async () => {
|
||||
const { data, error } = await supabase.from('people').select();
|
||||
const { data, error } = await supabase.from('people').select().order('id');
|
||||
if (!error) {
|
||||
return data;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user