all repos — dbee @ 6bc91d7e907992c8beeea717c98a830b183af97a

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;