From: zuber Date: Tue, 27 Oct 2009 10:59:19 +0000 (+0100) Subject: FIX: Nie można było zaakceptować pull request. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/2fc23bdb4ec0198ab47ce73e7b5287375ae68a12?ds=sidebyside FIX: Nie można było zaakceptować pull request. --- diff --git a/apps/api/handlers/manage_handlers.py b/apps/api/handlers/manage_handlers.py index f9caf7ba..f2d41b1b 100644 --- a/apps/api/handlers/manage_handlers.py +++ b/apps/api/handlers/manage_handlers.py @@ -60,7 +60,7 @@ class PullRequestHandler(BaseHandler): 'message': "This pull request is alredy resolved. Can't accept." }) - src_doc = lib.document_for_rev( prq.source_revision ) + src_doc = lib.document_for_revision( prq.source_revision ) lock = lib.lock() try: