Skip to content

Commit

Permalink
QFIX: PG query and SES (#7700)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Sobolev <[email protected]>
  • Loading branch information
haiodo authored Jan 17, 2025
1 parent 1347a03 commit a2eb0de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion server/postgres/src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ abstract class PostgresAdapterBase implements DbAdapter {
switch (type) {
case 'common':
if (Array.isArray(val) && val.includes(null)) {
res.push(`(${tkey} = ANY(${vars.addArray(val, inferType(val))})) OR ${tkey} IS NULL)`)
res.push(`(${tkey} = ANY(${vars.addArray(val, inferType(val))})) OR ${tkey} IS NULL`)
} else {
if (val.length > 0) {
res.push(`${tkey} = ANY(${vars.addArray(val, inferType(val))})`)
Expand Down
2 changes: 2 additions & 0 deletions services/ses/pod-ses/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM hardcoreeng/base:v20250113a
WORKDIR /usr/src/app

COPY bundle/bundle.js ./

EXPOSE 8089
CMD [ "node", "bundle.js" ]
1 change: 1 addition & 0 deletions services/ses/pod-ses/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"bundle": "node ../../../common/scripts/esbuild.js",
"docker:build": "../../../common/scripts/docker_build.sh hardcoreeng/ses",
"docker:staging": "../../../common/scripts/docker_tag.sh hardcoreeng/ses staging",
"docker:abuild": "docker build -t hardcoreeng/ses . --platform=linux/arm64 && ../../../common/scripts/docker_tag_push.sh hardcoreeng/ses",
"docker:push": "../../../common/scripts/docker_tag.sh hardcoreeng/ses",
"run-local": "cross-env [email protected] ts-node src/index.ts",
"format": "format src",
Expand Down

0 comments on commit a2eb0de

Please sign in to comment.