Skip to content

Commit

Permalink
Merge aa891d1 into 0f62ae9
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Mar 9, 2023
2 parents 0f62ae9 + aa891d1 commit da1ff60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/metascraper-media-provider/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const getAuthor = ({ uploader, creator, uploader_id: uploaderId }) =>
find([creator, uploader, uploaderId], str => authorFn(str))

const getPublisher = ({ extractor, extractor_key: extractorKey }) =>
extractor !== 'generic' && publisher(extractorKey)
extractor !== 'generic' ? publisher(extractorKey) : undefined

const getLang = ({ language, http_headers: headers = {} }) =>
lang(language || headers['Accept-Language'])
Expand Down

0 comments on commit da1ff60

Please sign in to comment.