mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(fastapi): refresh records when fetching updated packages
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
232594ae44
commit
199622c53f
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@ def updated_packages(limit: int = 0,
|
|||
for pkg in query:
|
||||
# For each Package returned by the query, append a dict
|
||||
# containing Package columns we're interested in.
|
||||
db.refresh(pkg)
|
||||
packages.append({
|
||||
"Name": pkg.Name,
|
||||
"Version": pkg.Version,
|
||||
|
|
Loading…
Add table
Reference in a new issue