Skip to content
Snippets Groups Projects
Commit 9edd5eac authored by Marcela Ribeiro de Oliveira's avatar Marcela Ribeiro de Oliveira
Browse files

small fix in users documentation

parent ce624e46
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ resource 'Users' do
parameter :password_confirmation, 'The password confirmation of user'
parameter :terms_of_service, 'Checks if user agreed with terms of service'
parameter :avatar, 'The user avatar'
parameter :roles_ids, 'The user roles', scope: :user
parameter :role_ids, 'The user roles', scope: :user
parameter :subjects, 'Array with subjects ids', scope: :user
let(:id) {@user.id}
......@@ -126,7 +126,7 @@ resource 'Users' do
let(:avatar) {""}
# TODO role ids con't be changed if user isn't admin, send []
# when it's a admin send [role.first.id]
let(:roles_ids) { [] }
let(:role_ids) { [] }
let(:subjects) { [subject.first.id] }
let(:raw_post) {params.to_json}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment