Adds owner as project member on project creation. This will help to simplify the frontend logic in future PRs.
Technical Notes
This fix eluded me for several weeks. I had a fundamental misunderstanding about the way that chaining dispatch actions worked. I assumed that if the final dispatch action itself returned a POJO, then the outer function itself, would return it. In fact, I needed to make an explicit return call at the end of the chain.
Summary
Adds owner as project member on project creation. This will help to simplify the frontend logic in future PRs.
Technical Notes
This fix eluded me for several weeks. I had a fundamental misunderstanding about the way that chaining dispatch actions worked. I assumed that if the final dispatch action itself returned a POJO, then the outer function itself, would return it. In fact, I needed to make an explicit return call at the end of the chain.