Skip to content

Commit

Permalink
Fix sql query from the subscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
treoden committed May 9, 2024
1 parent 4342e5f commit 4bab83e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ module.exports = async function buildUrlReWrite(data) {
// Delete the url rewrite for the product
await execute(
pool,
`DELETE FROM url_rewrite WHERE entity_uuid = ${productUuid} AND entity_type = 'product'`
`DELETE FROM url_rewrite WHERE entity_uuid = '${productUuid}' AND entity_type = 'product'`
);
};

0 comments on commit 4bab83e

Please sign in to comment.