all repos — dbee @ 29bd43e15c9d93333c320db4e15c536aeebd66a9

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;