3676-zone_delivery-days #891

Merged
carlosjr merged 8 commits from 3676-zone_delivery-days into dev 2022-03-07 10:26:08 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit b421038bbe - Show all commits

View File

@ -58,8 +58,7 @@ module.exports = Self => {
)
AND z.id IN (${paramsString})
alexm marked this conversation as resolved Outdated

try not to use variables instead of "?" to prevent posible sql injections

try not to use variables instead of "?" to prevent posible sql injections
ORDER BY type='day' DESC, type='range' DESC, type='indefinitely' DESC) z
GROUP BY z.id
`;
GROUP BY z.id`;
return await Self.rawSql(query, paramsSql, myOptions);
alexm marked this conversation as resolved Outdated

is the await needed or can return the promise?

is the await needed or can return the promise?
};