You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need an endpoint added in Next for deleting a role from the roles table. It would be with the apis in admin/roles folder and delete.ts file.
That structure will give us the desired endpoint /api/admin/roles/delete.
The endpoint should accept an rid and delete the matching role from the roles table.
The text was updated successfully, but these errors were encountered:
This issues depends on the resolving #185
We need an endpoint added in Next for deleting a role from the roles table. It would be with the apis in
admin/roles
folder anddelete.ts
file.That structure will give us the desired endpoint
/api/admin/roles/delete
.The endpoint should accept an
rid
and delete the matching role from the roles table.The text was updated successfully, but these errors were encountered: