X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/a5dd9b05d1136543817c697ecd0d878a1aa4d260..30da6af1f8550bbf8c52a21e5741661a15da8663:/apps/api/handlers/manage_handlers.py?ds=inline 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({