X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4a1d358fcc56a21796d35c8486e0ae6043220fd7..30da6af1f8550bbf8c52a21e5741661a15da8663:/apps/api/handlers/manage_handlers.py diff --git a/apps/api/handlers/manage_handlers.py b/apps/api/handlers/manage_handlers.py index b94ca729..f9caf7ba 100644 --- a/apps/api/handlers/manage_handlers.py +++ b/apps/api/handlers/manage_handlers.py @@ -110,7 +110,7 @@ class PullRequestHandler(BaseHandler): # sync state with repository prq.status = 'A' prq.merged_revision = str(src_doc.shared().revision) - prq.merged_timestamp = datetime.now() + prq.merged_timestamp = datetime.datetime.now() prq.save() return SuccessAllOk().django_response({