Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incoherent Type on Empty Media tag #43

Open
RayanZahab opened this issue May 21, 2018 · 0 comments
Open

Incoherent Type on Empty Media tag #43

RayanZahab opened this issue May 21, 2018 · 0 comments

Comments

@RayanZahab
Copy link

When Media tag is empty its returning an empty String instead of an empty array.

http://api.nytimes.com/svc/mostpopular/v2/mostviewed/all-sections/7.json?apikey=XYZ

{
"url":"https://www.nytimes.com/2018/05/17/style/royal-wedding-time-date.html",
"adx_keywords":"Royal Wedding;Weddings and Engagements;Time;Harry, Prince of Wales;Markle, Meghan",
"column":null,
"section":"Style",
"byline":"By THE NEW YORK TIMES",
"type":"Article",
"title":"What Time Was the Royal Wedding in My Time Zone?",
"abstract":"Interesting news: The royal wedding is now in the past. ",
"published_date":"2018-05-17",
"source":"The New York Times",
"id":100000005904642,
"asset_id":100000005904642,
"views":4,
"des_facet":[
"WEDDINGS AND ENGAGEMENTS",
"TIME"
],
"org_facet":"",
"per_facet":[
"HARRY, PRINCE OF WALES",
"MARKLE, MEGHAN"
],
"geo_facet":"",
"media":""
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant