aboutsummaryrefslogtreecommitdiff
path: root/clientapi/routing/receipt.go
diff options
context:
space:
mode:
Diffstat (limited to 'clientapi/routing/receipt.go')
-rw-r--r--clientapi/routing/receipt.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/clientapi/routing/receipt.go b/clientapi/routing/receipt.go
index 634b60b7..0bbb20b9 100644
--- a/clientapi/routing/receipt.go
+++ b/clientapi/routing/receipt.go
@@ -20,7 +20,6 @@ import (
"net/http"
"time"
- "github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/clientapi/producers"
"github.com/matrix-org/gomatrixserverlib/spec"
@@ -49,7 +48,7 @@ func SetReceipt(req *http.Request, userAPI api.ClientUserAPI, syncProducer *prod
case "m.fully_read":
data, err := json.Marshal(fullyReadEvent{EventID: eventID})
if err != nil {
- return jsonerror.InternalServerError()
+ return spec.InternalServerError()
}
dataReq := api.InputAccountDataRequest{