Verified Commit 2fd9f343 authored by Kevin Morris's avatar Kevin Morris
Browse files

Merge branch 'fix-request-autogen'

parents 36116309 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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment