Expect JobVersion in one of two places

This commit is contained in:
Michael Lange 2017-10-19 10:17:04 -07:00
parent 18ad13cebf
commit cf95033351

View file

@ -20,6 +20,8 @@ export default ApplicationSerializer.extend({
return summary;
});
hash.JobVersion = hash.JobVersion != null ? hash.JobVersion : get(hash, 'Job.Version');
// TEMPORARY: https://github.com/emberjs/data/issues/5209
hash.OriginalJobId = hash.JobID;