fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX: TypeError przy akceptacji Pull Requestów.
[redakcja.git]
/
apps
/
api
/
handlers
/
manage_handlers.py
diff --git
a/apps/api/handlers/manage_handlers.py
b/apps/api/handlers/manage_handlers.py
index
b94ca72
..
f9caf7b
100644
(file)
--- 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)
# 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({
prq.save()
return SuccessAllOk().django_response({