mirror of
https://github.com/hkalexling/Mango.git
synced 2026-05-01 00:00:55 -04:00
Subscription management API endpoints
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user