all repos — dbee @ b22378184073ce48c49767ed1031a99e1e83166c

Move PostgreSQL backups using S3

libs/config/remove.js (view raw)

 1const _unset = require("lodash/unset");
 2const { getConfig, storeConfig } = require("./_utils");
 3
 4const store = (type, name) => {
 5  let config = getConfig();
 6  _.unset(config, `${type}.${name}`);
 7  storeConfig(config);
 8};
 9
10module.exports = store;