From 2fca4bbd65c642dd46a68371efdbed76823fcd27 Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Thu, 18 May 2017 11:58:41 +0200 Subject: [PATCH] mediaapi/config: Fix max_file_size_bytes YAML tag --- src/github.com/matrix-org/dendrite/mediaapi/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/mediaapi/config/config.go b/src/github.com/matrix-org/dendrite/mediaapi/config/config.go index 86b5c75ba..0cfb58401 100644 --- a/src/github.com/matrix-org/dendrite/mediaapi/config/config.go +++ b/src/github.com/matrix-org/dendrite/mediaapi/config/config.go @@ -27,7 +27,7 @@ type MediaAPI struct { BasePath types.Path `yaml:"base_path"` // The maximum file size in bytes that is allowed to be stored on this server. // Note that remote files larger than this can still be proxied to a client, they will just not be cached. - MaxFileSizeBytes types.ContentLength `yaml:"base_path"` + MaxFileSizeBytes types.ContentLength `yaml:"max_file_size_bytes"` // The postgres connection config for connecting to the database e.g a postgres:// URI DataSource string `yaml:"database"` }