20284: Fix test and update code comment.
[arvados.git] / services / api / app / controllers / arvados / v1 / groups_controller.rb
index efcc43db26ff5df549f7933c5b84998be88af80e..c362cf32d7e271c35891f10a33cf2f970503c09d 100644 (file)
@@ -92,7 +92,7 @@ class Arvados::V1::GroupsController < ApplicationController
       attrs_to_update = resource_attrs.reject { |k, v|
         [:kind, :etag, :href].index k
       }.merge({async_permissions_update: true})
-      @object.update_attributes!(attrs_to_update)
+      @object.update!(attrs_to_update)
       @object.save!
       render_accepted
     else