Subscription management API endpoints

This commit is contained in:
Alex Ling
2021-11-20 09:47:18 +00:00
parent 352236ab65
commit 5442d124af
3 changed files with 38 additions and 3 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ class Plugin
def unsubscribe(id : String)
list = SubscriptionList.new info.dir
list.reject &.id.== id
list.reject! &.id.== id
list.save
end