diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-05-22 14:14:39 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-05-22 14:14:39 +0100 |
commit | 06d5f1e6dcd9f3e1db92880c7c3f4068cc92ab99 (patch) | |
tree | 558ad5fe0d8b2d308085ef31aa45a144abde15cb /federationsender | |
parent | 0978630b552b0f88bf5efc1c59860cbeb706606d (diff) |
Fix API paths
Diffstat (limited to 'federationsender')
-rw-r--r-- | federationsender/api/perform.go | 6 | ||||
-rw-r--r-- | federationsender/api/query.go | 4 |
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 { |