aboutsummaryrefslogtreecommitdiff
path: root/eduserver/api
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-05-21 14:40:13 +0100
committerGitHub <noreply@github.com>2020-05-21 14:40:13 +0100
commit24d8df664c21fa8bd68d80b5585a496e264c410a (patch)
tree0a176d6dfd7f81522c5739b53313366b552b0ce1 /eduserver/api
parent3fdb045116c9cd2f2a3badfebec0645d0381bacb (diff)
Fix #897 and shuffle directory around (#1054)
* Fix #897 and shuffle directory around * Update find-lint * goimports Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'eduserver/api')
-rw-r--r--eduserver/api/input.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/eduserver/api/input.go b/eduserver/api/input.go
index be2d4c56..999a5b41 100644
--- a/eduserver/api/input.go
+++ b/eduserver/api/input.go
@@ -18,7 +18,7 @@ import (
"errors"
"net/http"
- commonHTTP "github.com/matrix-org/dendrite/common/http"
+ internalHTTP "github.com/matrix-org/dendrite/internal/http"
"github.com/matrix-org/gomatrixserverlib"
opentracing "github.com/opentracing/opentracing-go"
)
@@ -80,5 +80,5 @@ func (h *httpEDUServerInputAPI) InputTypingEvent(
defer span.Finish()
apiURL := h.eduServerURL + EDUServerInputTypingEventPath
- return commonHTTP.PostJSON(ctx, span, h.httpClient, apiURL, request, response)
+ return internalHTTP.PostJSON(ctx, span, h.httpClient, apiURL, request, response)
}