Merge commit '15fd712464
' into kb_migration
This commit is contained in:
commit
3a1a6ba39e
289 changed files with 1339 additions and 1337 deletions
|
@ -32,6 +32,7 @@ class Api::V1::ListsController < Api::BaseController
|
|||
|
||||
def destroy
|
||||
raise Mastodon::ValidationError, I18n.t('antennas.errors.remove_list_with_antenna') if Antenna.where(list_id: @list.id).any?
|
||||
|
||||
@list.destroy!
|
||||
render_empty
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue