summaryrefslogtreecommitdiffstats
path: root/app/brand.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/brand.go')
-rw-r--r--app/brand.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/brand.go b/app/brand.go
index bb11bd581..5fe24e155 100644
--- a/app/brand.go
+++ b/app/brand.go
@@ -13,7 +13,7 @@ import (
)
func SaveBrandImage(imageData *multipart.FileHeader) *model.AppError {
- if len(utils.Cfg.FileSettings.DriverName) == 0 {
+ if len(*utils.Cfg.FileSettings.DriverName) == 0 {
return model.NewAppError("SaveBrandImage", "api.admin.upload_brand_image.storage.app_error", nil, "", http.StatusNotImplemented)
}
@@ -30,7 +30,7 @@ func SaveBrandImage(imageData *multipart.FileHeader) *model.AppError {
}
func GetBrandImage() ([]byte, *model.AppError) {
- if len(utils.Cfg.FileSettings.DriverName) == 0 {
+ if len(*utils.Cfg.FileSettings.DriverName) == 0 {
return nil, model.NewAppError("GetBrandImage", "api.admin.get_brand_image.storage.app_error", nil, "", http.StatusNotImplemented)
}