refactor(frontend): update test config and optimize components
- Update vitest config to use new test directory structure - Optimize Dashboard, RoleManagement, UserManagement components - Improve signature utility with better error handling - Enhance component error handling and user feedback
This commit is contained in:
@@ -33,13 +33,12 @@ export function generateSignatureHeaders(
|
||||
const nonce = generateNonce()
|
||||
|
||||
const { path, query } = parseUrl(url)
|
||||
const bodyString = body ? JSON.stringify(body) : ''
|
||||
|
||||
const signature = generateSignature(
|
||||
method.toUpperCase(),
|
||||
path,
|
||||
query || '',
|
||||
bodyString,
|
||||
'',
|
||||
timestamp,
|
||||
nonce
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user