Skip to content

API IssueΒ #2

@mayukhsaha

Description

@mayukhsaha

Hi @puikinsh,

Thanks for sharing this template. This is awesome and I learnt a lot from this. πŸ‘

Two issues I found while using this template are below:

  1. API Issue :
    Below GET API is returning 400
    /feeds/posts/default/-/"+e+"?alt=json-in-script&max-results=3
    and I changed this to below to resolve it
    /feeds/posts/default/"+e+"?alt=json-in-script&max-results=3

  2. Second one is if a posts does not contain any " Label " then "RECENT" section does not show anything.

As your code is minified so to resolve this I have added below codes :

if(!t.feed.entry[l].hasOwnProperty("category")) continue;
if(!a.feed.entry[s].hasOwnProperty("category")) continue;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions