Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Flesh out Edition data in /add route
Browse files Browse the repository at this point in the history
  • Loading branch information
leftmostcat committed Jun 11, 2014
1 parent e9b0819 commit 733a7b6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions routes/edition.js
Expand Up @@ -32,8 +32,13 @@ router.post('/add', auth.isAuthenticated, function(req, res, next) {
join_phrase: ''
}],
entity_data: {
name: req.param('title'),
book_type_id: req.param('book_primary_type_id'),
name: req.param('name'),
book_id: req.param('book_id'),
edition_status_id: req.param('edition_status_id'),
country_id: req.param('country_id'),
language_id: req.param('language_id'),
script_id: req.param('script_id'),
barcode: req.param('barcode'),
comment: req.param('comment')
}
};
Expand Down

0 comments on commit 733a7b6

Please sign in to comment.