• Phạm Quang Bảo's avatar
    refactor: simplify error handling and add category tree and post stats endpoints · 655ba51d
    Phạm Quang Bảo authored
    - Remove unused admin auth imports and handleUnAuthorizationError function
    - Simplify expired token error handling to rely on interceptor
    - Update permission denied error redirect to check admin path
    - Refactor custom-client to use async/await pattern and remove cancel token logic
    - Add getApiV10CategoryTree endpoint with infinite and standard query hooks
    - Add getApiV10PostStats endpoint with infinite and standard query hooks
    655ba51d
putUserRoleId200AllOf.ts 253 Bytes