Fix all the errors to get our tests green on Rails 5.1.
This commit is contained in:
@@ -17,7 +17,7 @@ class Admin::ApiController < Admin::AdminController
|
||||
raise Discourse::NotFound if api_key.blank?
|
||||
|
||||
api_key.destroy
|
||||
render nothing: true
|
||||
render body: nil
|
||||
end
|
||||
|
||||
def create_master_key
|
||||
|
||||
Reference in New Issue
Block a user