vinix 7a8a46ee64 fix: remove duplicate /roles in API endpoints
- Fix getAllRole endpoint from roles/roles to roles
- Fix getRoleById endpoint from roles/roles/:id to roles/:id
- Fix createRole endpoint from roles/roles to roles
- Fix updateRole endpoint from roles/roles/:id to roles/:id
- Fix deleteRole endpoint from roles/roles/:id to roles/:id
- Add try-catch error handling in getAllRole
- Support both server-side and client-side pagination

This fixes SQL error: Conversion failed when converting the nvarchar value 'roles' to data type int
Backend was interpreting duplicate /roles as an ID parameter
2025-10-10 15:45:39 +07:00
2025-09-17 12:15:29 +07:00
2025-09-29 16:23:20 +07:00
2025-09-29 16:23:20 +07:00
2025-09-17 12:14:25 +07:00
2025-09-17 12:14:25 +07:00
2025-09-17 12:13:25 +07:00
2025-09-17 12:14:25 +07:00
2025-09-17 12:14:25 +07:00
2025-09-29 16:23:20 +07:00
2025-09-15 04:01:19 +00:00
2025-09-17 12:14:25 +07:00

touch README.md git init git checkout -b main git add README.md git commit -m "first commit" git remote add origin https://gitea.idetama.id/yogiedigital/cod-fe.git git push -u origin main

Description
No description provided
Readme 6.9 MiB
Languages
JavaScript 99.4%
CSS 0.5%