Skip to content

Commit

Permalink
Merge pull request #38 from Kitware/misc
Browse files Browse the repository at this point in the history
fix(IO): added metadata to editSimulation
  • Loading branch information
jourdain committed Mar 3, 2016
2 parents 1d77a01 + 9638aa9 commit 6a0da24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IO/Girder/HpcCloudEndpoints/simulations.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export default function({client, filterQuery, mustContain, busy}) {
},

editSimulation(simulation) {
const expected = ['name', 'description', 'active', 'disabled', '_id'],
sfiltered = filterQuery(simulation, ...expected.slice(0,4)); // Remove '_id'
const expected = ['name', 'description', 'active', 'disabled', 'metadata', '_id'],
sfiltered = filterQuery(simulation, ...expected.slice(0,5)); // Remove '_id'

return busy(client._.patch(`/simulations/${simulation._id}`, sfiltered, { headers, transformRequest }));
},
Expand Down

0 comments on commit 6a0da24

Please sign in to comment.