Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
aurweb
Commits
e3864d4b
Verified
Commit
e3864d4b
authored
Feb 17, 2022
by
Kevin Morris
Browse files
fix: set RequestTS when autogenerating requests
Signed-off-by:
Kevin Morris
<
kevr@0cost.org
>
parent
040c9bc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
aurweb/packages/requests.py
View file @
e3864d4b
...
...
@@ -201,9 +201,11 @@ def handle_request(request: Request, reqtype_id: int,
# This is done to increase tracking of actions occurring
# through the website.
if
not
to_accept
:
utcnow
=
time
.
utcnow
()
with
db
.
begin
():
pkgreq
=
db
.
create
(
PackageRequest
,
ReqTypeID
=
reqtype_id
,
RequestTS
=
utcnow
,
User
=
request
.
user
,
PackageBase
=
pkgbase
,
PackageBaseName
=
pkgbase
.
Name
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment