PR Summary #1

Merged
sonderau merged 6 commits from dev into main 2025-10-10 08:49:20 +08:00
2 changed files with 1 additions and 3 deletions
Showing only changes of commit 4e73ccb60b - Show all commits

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,4 @@
// src/app/admin/devices/page.tsx
import { cookies } from 'next/headers';
import { requireAuthOrRedirect } from '@/lib/authServer';
import axiosServer from '@/lib/axiosServer';
import DeviceTableSection from '@/components/admin/DeviceTableSection';
@@ -16,8 +15,6 @@ interface DeviceDTO {
export default async function DeviceManagementPage() {
const user = await requireAuthOrRedirect();
const cookieStore = await cookies();
const token = cookieStore.get('authToken')?.value;
const res = await axiosServer.get('/admin/devices', {
headers: {