aboutsummaryrefslogtreecommitdiff
path: root/federationsender
diff options
context:
space:
mode:
Diffstat (limited to 'federationsender')
-rw-r--r--federationsender/api/perform.go6
-rw-r--r--federationsender/api/query.go4
2 files changed, 5 insertions, 5 deletions
diff --git a/federationsender/api/perform.go b/federationsender/api/perform.go
index 427e7068..a73ba047 100644
--- a/federationsender/api/perform.go
+++ b/federationsender/api/perform.go
@@ -11,13 +11,13 @@ import (
const (
// FederationSenderPerformJoinRequestPath is the HTTP path for the PerformJoinRequest API.
- FederationSenderPerformDirectoryLookupRequestPath = "/api/federationsender/performDirectoryLookup"
+ FederationSenderPerformDirectoryLookupRequestPath = "/federationsender/performDirectoryLookup"
// FederationSenderPerformJoinRequestPath is the HTTP path for the PerformJoinRequest API.
- FederationSenderPerformJoinRequestPath = "/api/federationsender/performJoinRequest"
+ FederationSenderPerformJoinRequestPath = "/federationsender/performJoinRequest"
// FederationSenderPerformLeaveRequestPath is the HTTP path for the PerformLeaveRequest API.
- FederationSenderPerformLeaveRequestPath = "/api/federationsender/performLeaveRequest"
+ FederationSenderPerformLeaveRequestPath = "/federationsender/performLeaveRequest"
)
type PerformDirectoryLookupRequest struct {
diff --git a/federationsender/api/query.go b/federationsender/api/query.go
index bf58d5cc..4c0f757b 100644
--- a/federationsender/api/query.go
+++ b/federationsender/api/query.go
@@ -11,10 +11,10 @@ import (
)
// FederationSenderQueryJoinedHostsInRoomPath is the HTTP path for the QueryJoinedHostsInRoom API.
-const FederationSenderQueryJoinedHostsInRoomPath = "/api/federationsender/queryJoinedHostsInRoom"
+const FederationSenderQueryJoinedHostsInRoomPath = "/federationsender/queryJoinedHostsInRoom"
// FederationSenderQueryJoinedHostServerNamesInRoomPath is the HTTP path for the QueryJoinedHostServerNamesInRoom API.
-const FederationSenderQueryJoinedHostServerNamesInRoomPath = "/api/federationsender/queryJoinedHostServerNamesInRoom"
+const FederationSenderQueryJoinedHostServerNamesInRoomPath = "/federationsender/queryJoinedHostServerNamesInRoom"
// QueryJoinedHostsInRoomRequest is a request to QueryJoinedHostsInRoom
type QueryJoinedHostsInRoomRequest struct {