Skip to content

Warning: Exposed Credentials #1

@amacado

Description

@amacado

I came across this code and wanted to warn you that you have exposed a valid developer key in a public repository. You should first invalidate the key and than remove it from your repository. Note that even when you commit a updated version the key will still be visible in the commit history. You may want to have a look at this article

return fetch("https://developers.zomato.com/api/v2.1/search?entity_id="+cityId+"&entity_type=city&q="+name+"&start=0&count=50",{
'method':'GET',
headers:{
'user-key':'87e52a3aed2978f12ba76200bad44abf',
'Accept': 'application/json',
},

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