mirror of
https://github.com/penpot/penpot.git
synced 2026-07-31 18:36:18 +00:00
The audit event validation was failing when processing error reports that contain string profile-id values. The error report storage converts profile-id to string format, but the audit schema expects a UUID. Changes: - Modified prepare-rpc-event to convert string profile-id to UUID using uuid/parse* (exception-safe parsing) - Updated access token middleware to set ::id and ::type on request so audit context includes token identification - Added tests for profile-id conversion and token context population Closes #10897 AI-assisted-by: qwen3.7-plus