You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 and updatedAt), and as a result of the merge, it looks like the submission's properties are overwritten by the submitter's. For example, I added console.log(body) to the following test:
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: