Skip to content

Commit

Permalink
Fix checkpointid
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Mar 18, 2024
1 parent c079225 commit 811d912
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/api/routes/batch.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export default async function router(schema, config) {
req.body.type = req.params.type || type || 'cpu';

req.body.uid = req.auth.id;
req.body.checkpoint_id = req.params.checkpointid;
const inst = await Instance.generate(config, req.body);

const batch_json = (await Batch.from(config.pool, batch.id)).serialize();
Expand Down

0 comments on commit 811d912

Please sign in to comment.