- api to update name and email - api to change password - api to set profile pic - fixes update_attribute! deprecation warning - introducing active storage
This commit is contained in:
@@ -12,7 +12,7 @@ class Api::V1::CannedResponsesController < Api::BaseController
|
||||
end
|
||||
|
||||
def update
|
||||
@canned_response.update_attributes!(canned_response_params)
|
||||
@canned_response.update!(canned_response_params)
|
||||
render json: @canned_response
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user