PR Summary #1

Merged
sonderau merged 6 commits from dev into main 2025-10-10 08:49:20 +08:00
Showing only changes of commit c404331918 - Show all commits

View File

@@ -16,8 +16,7 @@ interface DeviceDTO {
export default async function DeviceManagementPage() {
const user = await requireAuthOrRedirect();
const cookieStore = cookies();
// @ts-expect-error cookies() isn't really async
const cookieStore = await cookies();
const token = cookieStore.get('authToken')?.value;
const res = await axiosServer.get('/admin/devices', {