Skip to content

Fix issue with affiliation controller

Anthony Shull requested to merge as/bug/940/current-user into develop

To test:

%> bundle exec rails db:reset
%> bundle exec rails c
> Affiliation.first.delete
POST /api/projects/1/affiliations/spaces/1
POST /api/spaces/1/affiliated/challenges/1
> Affiliation.count
=> 2

Closes https://gitlab.com/JOGL/JOGL/-/issues/940

Edited by Anthony Shull

Merge request reports