diff --git a/api/custom/exports.go b/api/custom/exports.go
index f12439e94d433807676e23b53e31e5648e8eeb1c..61335e8690a142ca03a0b1f2647cfa43642c2c6f 100644
--- a/api/custom/exports.go
+++ b/api/custom/exports.go
@@ -12,7 +12,6 @@ import (
 
 	"github.com/dustin/go-humanize"
 	"github.com/sirupsen/logrus"
-	"github.com/turt2live/matrix-media-repo/api/r0"
 	"github.com/turt2live/matrix-media-repo/common/rcontext"
 	"github.com/turt2live/matrix-media-repo/controllers/data_controller"
 	"github.com/turt2live/matrix-media-repo/matrix"
@@ -274,7 +273,7 @@ func DownloadExportPart(r *http.Request, rctx rcontext.RequestContext, user _api
 		return _responses.InternalServerError("failed to start download")
 	}
 
-	return &r0.DownloadMediaResponse{
+	return &_responses.DownloadResponse{
 		ContentType:       "application/gzip",
 		SizeBytes:         part.SizeBytes,
 		Data:              s,