diff --git a/__tests__/models/movie.spec.ts b/__tests__/models/movie.spec.ts index 07413d9f..460a8f02 100644 --- a/__tests__/models/movie.spec.ts +++ b/__tests__/models/movie.spec.ts @@ -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 } }] }, diff --git a/src/models/movie.ts b/src/models/movie.ts index 160437a1..0b8d8c1d 100644 --- a/src/models/movie.ts +++ b/src/models/movie.ts @@ -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 ?? '' } }] },