lib/osso/graphql/mutations/regenerate_oauth_credentials.rb in osso-0.0.3.26 vs lib/osso/graphql/mutations/regenerate_oauth_credentials.rb in osso-0.0.3.27

- old
+ new

@@ -15,10 +15,10 @@ oauth_client = Osso::Models::OauthClient.find(id) oauth_client.regenerate_secrets! return response_data(oauth_client: oauth_client) if oauth_client.save - response_error(errors: oauth_client.errors.full_messages) + response_error(oauth_client.errors) end def ready?(*) admin_ready? end