Skip to content

Bean217/api#22

Merged
bean217 merged 2 commits intomasterfrom
bean217/api
Mar 6, 2023
Merged

Bean217/api#22
bean217 merged 2 commits intomasterfrom
bean217/api

Conversation

@bean217
Copy link
Collaborator

@bean217 bean217 commented Mar 2, 2023

Fixed sql injection issues by using the npm yesql package for writing parameterized queries. Only queries with parameters need this. Any static string queries do not need to change or be put into the sql("YOUR QUERY")({params}); format.

Copy link
Contributor

@MTFT-Games MTFT-Games left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Am not familiar with the yesql library but looks vaguely good to me

@bean217 bean217 merged commit b5d5583 into master Mar 6, 2023
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

Successfully merging this pull request may close these issues.

2 participants