aboutsummaryrefslogtreecommitdiff
path: root/appservice
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-05-22 14:14:39 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2020-05-22 14:14:39 +0100
commit06d5f1e6dcd9f3e1db92880c7c3f4068cc92ab99 (patch)
tree558ad5fe0d8b2d308085ef31aa45a144abde15cb /appservice
parent0978630b552b0f88bf5efc1c59860cbeb706606d (diff)
Fix API paths
Diffstat (limited to 'appservice')
-rw-r--r--appservice/api/query.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/appservice/api/query.go b/appservice/api/query.go
index 4a4e31a9..d36e138c 100644
--- a/appservice/api/query.go
+++ b/appservice/api/query.go
@@ -84,10 +84,10 @@ type AppServiceQueryAPI interface {
}
// AppServiceRoomAliasExistsPath is the HTTP path for the RoomAliasExists API
-const AppServiceRoomAliasExistsPath = "/api/appservice/RoomAliasExists"
+const AppServiceRoomAliasExistsPath = "/appservice/RoomAliasExists"
// AppServiceUserIDExistsPath is the HTTP path for the UserIDExists API
-const AppServiceUserIDExistsPath = "/api/appservice/UserIDExists"
+const AppServiceUserIDExistsPath = "/appservice/UserIDExists"
// httpAppServiceQueryAPI contains the URL to an appservice query API and a
// reference to a httpClient used to reach it