SOWMITHA36 / ticketcreate

creating the ticket
0 stars 0 forks source link

Secrets should not be hardcoded inside code #1

Open Gopi30k opened 1 month ago

Gopi30k commented 1 month ago

https://github.com/SOWMITHA36/ticketcreate/blob/f479cb4d86ff107853426672cda753c75d9fd4f8/server/server.js#L47

In this line the API key and domain is hardcoded, this is a red flag. Look for installation page in freshdesk SDK docs and the API parameters should be passed from there

SOWMITHA36 commented 1 month ago

This is not my real API key I changed it since it is public repo