use one Archive instance for state.archive

This commit is contained in:
Danny Coates 2018-12-21 10:27:46 -08:00
parent 989137342b
commit c585c34c01
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
6 changed files with 14 additions and 13 deletions

View file

@ -16,6 +16,9 @@ module.exports = async function(req) {
}
}
return {
archive: {
numFiles: 0
},
locale,
capabilities: { account: false },
translate: getTranslator(locale),