summaryrefslogtreecommitdiffstats
path: root/api/export.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/export.go')
-rw-r--r--api/export.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/export.go b/api/export.go
index f2f8f87ab..da066379f 100644
--- a/api/export.go
+++ b/api/export.go
@@ -60,7 +60,7 @@ func ExportToFile(options *ExportOptions) (link string, err *model.AppError) {
ExportToWriter(file, options)
}
- return "/api/v1/files/get_export", nil
+ return model.API_URL_SUFFIX + "/files/get_export", nil
}
func ExportToWriter(w io.Writer, options *ExportOptions) *model.AppError {