diff options
author | S7evinK <tfaelligen@gmail.com> | 2019-12-20 16:00:25 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2019-12-20 15:00:25 +0000 |
commit | 4f75e4febe5ec3ed8666fc723e0f2350f372bf2d (patch) | |
tree | 2e680ac885d635aa4c6bc5eadf133b6ecdf07320 /roomserver/api | |
parent | 52dfa40471e1ba220960ed8f14033d7e03a96385 (diff) |
Fix copy & paste error (#812)
Diffstat (limited to 'roomserver/api')
-rw-r--r-- | roomserver/api/query.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roomserver/api/query.go b/roomserver/api/query.go index a544f8aa..e52c74ac 100644 --- a/roomserver/api/query.go +++ b/roomserver/api/query.go @@ -332,7 +332,7 @@ const RoomserverQueryMissingEventsPath = "/api/roomserver/queryMissingEvents" // RoomserverQueryStateAndAuthChainPath is the HTTP path for the QueryStateAndAuthChain API const RoomserverQueryStateAndAuthChainPath = "/api/roomserver/queryStateAndAuthChain" -// RoomserverQueryBackfillPath is the HTTP path for the QueryMissingEvents API +// RoomserverQueryBackfillPath is the HTTP path for the QueryBackfill API const RoomserverQueryBackfillPath = "/api/roomserver/QueryBackfill" // NewRoomserverQueryAPIHTTP creates a RoomserverQueryAPI implemented by talking to a HTTP POST API. @@ -475,6 +475,6 @@ func (h *httpRoomserverQueryAPI) QueryBackfill( span, ctx := opentracing.StartSpanFromContext(ctx, "QueryBackfill") defer span.Finish() - apiURL := h.roomserverURL + RoomserverQueryMissingEventsPath + apiURL := h.roomserverURL + RoomserverQueryBackfillPath return commonHTTP.PostJSON(ctx, span, h.httpClient, apiURL, request, response) } |