add fallback group order for old backends

This commit is contained in:
Pas 2025-08-04 10:42:37 -06:00
parent 8ec869c688
commit 33a67ed883

View file

@ -25,5 +25,10 @@ export function getGroupOrder(url: string, account: AccountWithToken) {
method: "GET",
baseURL: url,
headers: getAuthHeaders(account.token),
}).catch((err) => {
if (err?.response?.status === 404) {
return { groupOrder: [] };
}
throw err;
});
}