Skip to content

Commit

Permalink
Fixed undefined year during request approval when using radarr (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeradM authored and RickyGrassmuck committed Mar 16, 2017
1 parent 66e822c commit ced3326
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/collections/collections.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ var movies = new SimpleSchema (
label: "IMDB ID",
unique: true
},
year: {
type: String,
label: "Release Year",
optional: true
},
released: {
type: Date,
label: "Release date"
Expand Down
1 change: 1 addition & 0 deletions server/methods/search/requestMovie.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Meteor.methods({
title: request.title,
id: request.id,
imdb: imdbid,
year: request.year,
released: request.release_date,
user: request.user,
downloaded: dlStatus,
Expand Down

0 comments on commit ced3326

Please sign in to comment.