mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
Organisation and OrganisationMember routes
This commit is contained in:
@@ -23,6 +23,16 @@ const main = async () => {
|
||||
"/issues/:projectBlob": withCors(withAuth(routes.issuesInProject)),
|
||||
"/issues/all": withCors(withAuth(routes.issues)),
|
||||
|
||||
"/organisation/create": withCors(withAuth(routes.organisationCreate)),
|
||||
"/organisation/by-id": withCors(withAuth(routes.organisationById)),
|
||||
"/organisation/by-user": withCors(withAuth(routes.organisationByUser)),
|
||||
"/organisation/update": withCors(withAuth(routes.organisationUpdate)),
|
||||
"/organisation/delete": withCors(withAuth(routes.organisationDelete)),
|
||||
"/organisation/add-member": withCors(withAuth(routes.organisationAddMember)),
|
||||
"/organisation/members": withCors(withAuth(routes.organisationMembers)),
|
||||
"/organisation/remove-member": withCors(withAuth(routes.organisationRemoveMember)),
|
||||
"/organisation/update-member-role": withCors(withAuth(routes.organisationUpdateMemberRole)),
|
||||
|
||||
"/project/create": withCors(withAuth(routes.projectCreate)),
|
||||
"/project/update": withCors(withAuth(routes.projectUpdate)),
|
||||
"/project/delete": withCors(withAuth(routes.projectDelete)),
|
||||
|
||||
Reference in New Issue
Block a user