Merge pull request #1188 from siiky/feat/lam-434/tc-edition
feat: cache the T&C based on their hash
This commit is contained in:
commit
1b2d101392
7 changed files with 113 additions and 32 deletions
11
migrations/1649944954805-terms-and-conditions-hash.js
Normal file
11
migrations/1649944954805-terms-and-conditions-hash.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
const { saveConfig } = require('../lib/new-settings-loader')
|
||||
|
||||
exports.up = function (next) {
|
||||
return saveConfig({})
|
||||
.then(next)
|
||||
.catch(next)
|
||||
}
|
||||
|
||||
exports.down = function (next) {
|
||||
next()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue