summaryrefslogtreecommitdiffstats
path: root/api/file_benchmark_test.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-23 13:47:10 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-23 13:47:10 -0700
commitccf2e6e4e74fc249a094c2c27de675644f1065cb (patch)
treed98c966e0f273c5a6052e3c154bd7d75d091aa27 /api/file_benchmark_test.go
parent2b5b8f95ed9de37a15dc68c38c46a1da2bb1e160 (diff)
downloadchat-ccf2e6e4e74fc249a094c2c27de675644f1065cb.tar.gz
chat-ccf2e6e4e74fc249a094c2c27de675644f1065cb.tar.bz2
chat-ccf2e6e4e74fc249a094c2c27de675644f1065cb.zip
Changing image settings to file settings
Diffstat (limited to 'api/file_benchmark_test.go')
-rw-r--r--api/file_benchmark_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/file_benchmark_test.go b/api/file_benchmark_test.go
index f7d5de1d9..47f8bff43 100644
--- a/api/file_benchmark_test.go
+++ b/api/file_benchmark_test.go
@@ -38,7 +38,7 @@ func BenchmarkGetFile(b *testing.B) {
newProps["time"] = fmt.Sprintf("%v", model.GetMillis())
data := model.MapToJson(newProps)
- hash := model.HashPassword(fmt.Sprintf("%v:%v", data, utils.Cfg.ImageSettings.PublicLinkSalt))
+ hash := model.HashPassword(fmt.Sprintf("%v:%v", data, utils.Cfg.FileSettings.PublicLinkSalt))
// wait a bit for files to ready
time.Sleep(5 * time.Second)