fix(presence): missing touchLastSeen import in /api/me/last-seen

Endpoint warf 500 jedem Heartbeat-Call (ReferenceError) — Floodete
pm2-Logs. Import war im DB-Layer-File implementiert aber nicht vom
Endpoint importiert.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
chahinebrini 2026-05-18 06:35:11 +02:00
parent 0ca0afb1e1
commit c89f541069

View File

@ -11,6 +11,7 @@
* Response: { lastSeenAt: ISOString }
*/
import { requireUser } from "../../utils/auth";
import { touchLastSeen } from "../../db/profile";
export default defineEventHandler(async (event) => {
const user = await requireUser(event);