Sort by id

This commit is contained in:
Logan Hunt 2022-06-17 19:18:25 -07:00
parent 91c2b0b4b9
commit 99a0252063
Signed by untrusted user who does not match committer: simponic
GPG Key ID: 52B3774857EB24B1

View File

@ -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;
}