drop unnecessary code, restore instead of remove archived files in restoration script, change restore archived name
This commit is contained in:
@@ -603,7 +603,7 @@ module.exports.create = function (
|
||||
if (!isValidChannelId(channelName)) { return void cb(new Error('EINVAL')); }
|
||||
archiveChannel(env, channelName, cb);
|
||||
},
|
||||
unarchiveChannel: function (channelName, cb) {
|
||||
restoreArchivedChannel: function (channelName, cb) {
|
||||
if (!isValidChannelId(channelName)) { return void cb(new Error('EINVAL')); }
|
||||
unarchiveChannel(env, channelName, cb);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user