Skip to content

Commit

Permalink
Fix Length
Browse files Browse the repository at this point in the history
  • Loading branch information
JHWelch committed Aug 12, 2023
1 parent feecd04 commit a75a014
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __tests__/models/movie.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('toNotion', () => {
Title: { title: [{ text: { content: movie.title } }] },
Director: { rich_text: [{ text: { content: movie.director } }] },
Year: { number: movie.year },
Length: { number: movie.length },
'Length (mins)': { number: movie.length },
IMDb: { url: movie.imdbUrl },
Poster: { url: movie.posterUrl },
'Theater Name': { rich_text: [{ text: { content: movie.theaterName } }] },
Expand Down
2 changes: 1 addition & 1 deletion src/models/movie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default class Movie {
Title: { title: [{ text: { content: this.title } }] },
Director: { rich_text: [{ text: { content: this.director ?? '' } }] },
Year: { number: this.year },
Length: { number: this.length },
'Length (mins)': { number: this.length },
IMDb: { url: this.imdbUrl },
Poster: { url: this.posterUrl },
'Theater Name': { rich_text: [{ text: { content: this.theaterName ?? '' } }] },
Expand Down

0 comments on commit a75a014

Please sign in to comment.