diff --git a/peertube-plugin-auto-mute/README.md b/peertube-plugin-auto-mute/README.md index dbcc838..8318ace 100644 --- a/peertube-plugin-auto-mute/README.md +++ b/peertube-plugin-auto-mute/README.md @@ -18,14 +18,16 @@ This plugins expect the following JSON format from public blocklists: For example: ``` -[ - { - value: 'peertube.cpy.re' - }, - { - value: 'root@peertube.cpy.re' - } -] +{ + data: [ + { + value: 'peertube.cpy.re' + }, + { + value: 'root@peertube.cpy.re' + } + ] +} ``` This plugin does not apply a diff, so if you want to remove an entity from the blocklist, add `action: 'remove'` to the object. @@ -33,12 +35,15 @@ This plugin does not apply a diff, so if you want to remove an entity from the b For example, to revert `peertube.cpy.re` from the blocklist, update the JSON: ``` -[ - { - value: 'peertube.cpy.re', - action: 'remove' - }, - { - value: 'root@peertube.cpy.re' - } -] +{ + data: [ + { + value: 'peertube.cpy.re', + action: 'remove' + }, + { + value: 'root@peertube.cpy.re' + } + ] +} +```