Fix "filters.type" query

This commit is contained in:
Mustafa Gezen 2023-02-02 18:52:41 +01:00
parent 83175490a7
commit 55b1efa8e9
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1
2 changed files with 2 additions and 5 deletions

View File

@ -230,9 +230,6 @@ async def fetch_advisories_compat(
limit (select size from vars) offset (select page_offset from vars) limit (select size from vars) offset (select page_offset from vars)
""" """
if kind:
kind = f"TYPE_{kind.upper()}"
connection = connections.get("default") connection = connections.get("default")
results = await connection.execute_query( results = await connection.execute_query(
a, [ a, [
@ -245,7 +242,7 @@ async def fetch_advisories_compat(
cve, cve,
synopsis, synopsis,
severity, severity,
kind, kind.upper() if kind else kind,
] ]
) )

View File

@ -8,7 +8,7 @@ image:
repository: ghcr.io/resf/apollo-server repository: ghcr.io/resf/apollo-server
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: "7234e90" tag: "cc92597"
imagePullSecrets: [] imagePullSecrets: []
nameOverride: "" nameOverride: ""