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)
"""
if kind:
kind = f"TYPE_{kind.upper()}"
connection = connections.get("default")
results = await connection.execute_query(
a, [
@ -245,7 +242,7 @@ async def fetch_advisories_compat(
cve,
synopsis,
severity,
kind,
kind.upper() if kind else kind,
]
)

View File

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