Commit graph

2 commits

Author SHA1 Message Date
antanst
b8611d9338 chore(lint): remove unnecessary try/catch and tighten error handling
- Projects: remove superfluous try/catch around toast; keep explicit error path
- AdminUsers/Sidebar/ShareService: keep minimal catch blocks only to ignore non-JSON parse failures, without swallowing errors
- Lint/format pass remains green
2025-09-22 15:20:46 +03:00
antanst
fc16581b04 admin,shares: add authentication tests for all endpoints
Add minimal auth checks ensuring 401 Authentication required is returned when unauthenticated for POST/DELETE/GET on shares and POST on admin/set-admin-role. Matches existing test style.
2025-09-22 15:20:46 +03:00