|
|
@ -114,6 +114,7 @@ Pinning.getTotalSize = function (Env, safeKey, cb) {
|
|
|
|
/* Users should be able to clear their own pin log with an authenticated RPC
|
|
|
|
/* Users should be able to clear their own pin log with an authenticated RPC
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
Pinning.removePins = function (Env, safeKey, cb) {
|
|
|
|
Pinning.removePins = function (Env, safeKey, cb) {
|
|
|
|
|
|
|
|
// FIXME respect the queue
|
|
|
|
Env.pinStore.removeChannel(safeKey, function (err) {
|
|
|
|
Env.pinStore.removeChannel(safeKey, function (err) {
|
|
|
|
Env.Log.info('DELETION_PIN_BY_OWNER_RPC', {
|
|
|
|
Env.Log.info('DELETION_PIN_BY_OWNER_RPC', {
|
|
|
|
safeKey: safeKey,
|
|
|
|
safeKey: safeKey,
|
|
|
|