From dd375a2a220dc9e11af4f8d71c9267828ab2a41f Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 12 Jun 2019 16:33:52 +0200 Subject: [PATCH] every type of storage should have its own nested directory within the archive --- storage/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/file.js b/storage/file.js index 84d95a266..86aea935c 100644 --- a/storage/file.js +++ b/storage/file.js @@ -24,7 +24,7 @@ var mkPath = function (env, channelId) { }; var mkArchivePath = function (env, channelId) { - return Path.join(env.archiveRoot, channelId.slice(0, 2), channelId) + '.ndjson'; + return Path.join(env.archiveRoot, 'datastore', channelId.slice(0, 2), channelId) + '.ndjson'; }; var getMetadataAtPath = function (Env, path, cb) {