mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
[headless] Add tests to ensure that remote contact adding needs auth token
This commit is contained in:
@@ -65,12 +65,12 @@ constructor(
|
||||
path("/contacts") {
|
||||
get { ctx -> contactController.list(ctx) }
|
||||
path("add") {
|
||||
post { ctx -> contactController.addPendingContact(ctx) }
|
||||
path("link") {
|
||||
get { ctx -> contactController.link(ctx) }
|
||||
}
|
||||
path("pending") {
|
||||
get { ctx -> contactController.listPendingContacts(ctx) }
|
||||
post { ctx -> contactController.addPendingContact(ctx) }
|
||||
delete { ctx -> contactController.removePendingContact(ctx) }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user