mirror of https://github.com/kortix-ai/suna.git
fix: show latest threads
This commit is contained in:
parent
6eac8175c5
commit
4c52967f6d
|
@ -327,7 +327,8 @@ export const getProjects = async (): Promise<Project[]> => {
|
|||
const { data, error } = await supabase
|
||||
.from('projects')
|
||||
.select('*')
|
||||
.eq('account_id', userData.user.id);
|
||||
.eq('account_id', userData.user.id)
|
||||
.order('created_at', { ascending: false });
|
||||
|
||||
if (error) {
|
||||
// Handle permission errors specifically
|
||||
|
|
Loading…
Reference in New Issue