X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/30da6af1f8550bbf8c52a21e5741661a15da8663..c821de3dedaf3c15a0a3b4e3e933bda71d576206:/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 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: