Restrict work item list to admin only

This commit is contained in:
John Lyon-Smith
2018-04-27 19:38:58 -07:00
parent 53a4df55a2
commit f64c48fba6
4 changed files with 36 additions and 5 deletions

View File

@@ -366,6 +366,10 @@ class API extends EventEmitter {
return this.delete("/workitems/" + _id)
}
listTeams() {
return this.get("/teams")
}
getActivity(_id) {
return this.get("/activities/" + _id)
}