Enhance security and error handling in various components by refining error catch blocks to ignore specific errors, improving code clarity and consistency across the application.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { verifyToken, getUserById, hasAnyRole, readUsers, writeUsers } from '../../utils/auth.js'
|
||||
import { readMembers, writeMembers, getMemberById } from '../../utils/members.js'
|
||||
import { readMembers, writeMembers } from '../../utils/members.js'
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user