all repos — dbee @ ef17c0ff8508c7cd415693ebcd3e97003175e7dd

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;