-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extended submission is merged with submitter #858
Labels
Comments
sadiqkhoja
added a commit
to sadiqkhoja/central-backend
that referenced
this issue
May 18, 2023
2 tasks
sadiqkhoja
added a commit
to sadiqkhoja/central-backend
that referenced
this issue
May 18, 2023
2 tasks
sadiqkhoja
added a commit
that referenced
this issue
May 19, 2023
sadiqkhoja
added a commit
that referenced
this issue
May 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a submission is requested with extended metadata, a
submitter
property is added to the response (the submission object). However, it looks like that submitter object is also merged with the submission object. The submission and the submitter share a couple of properties (createdAt
andupdatedAt
), and as a result of the merge, it looks like the submission's properties are overwritten by the submitter's. For example, I addedconsole.log(body)
to the following test:central-backend/test/integration/api/submissions.js
Lines 3169 to 3181 in 0057300
The body looked like this:
The text was updated successfully, but these errors were encountered: