Skip to content

Commit

Permalink
added missing pub date
Browse files Browse the repository at this point in the history
  • Loading branch information
da1nerd committed Jul 12, 2016
1 parent c3fcb3d commit 5ae15e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/door43-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ function API(dbPath, resourceDir) {
var data = JSON.parse(response.data);
for(var resource of data) {
resource.translate_mode = resource.slug.toLowerCase() === 'obs' ? 'all' : 'gl';
resource.pub_date = resource.publish_date;
resource.formats = [{
syntax_version: '1.0',
'mime_type': 'application/ts+book',
Expand Down

0 comments on commit 5ae15e3

Please sign in to comment.