Add GET /friends/with/:id

This commit is contained in:
Howl
2016-04-07 12:21:54 +02:00
parent 34593ef428
commit aae4c5de50
2 changed files with 24 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ func Start(conf common.Conf, db *sql.DB) {
// ReadConfidential privilege required
gv1.GET("/friends", Method(v1.FriendsGET, db, common.PrivilegeReadConfidential))
gv1.GET("/friends/with/:id", Method(v1.FriendsWithGET, db, common.PrivilegeReadConfidential))
}
}