From 8f6be1b12104ea239b4d2f3c3265385967ad0c3f Mon Sep 17 00:00:00 2001 From: Pavel Studeny Date: Tue, 7 Nov 2017 11:30:01 +0100 Subject: [PATCH] file_path parameter was missing --- lib/resources/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/resources/index.js b/lib/resources/index.js index 7f67a0a..bce9bf2 100644 --- a/lib/resources/index.js +++ b/lib/resources/index.js @@ -27,7 +27,7 @@ module.exports = { repositoryBranches: require('./repository_branch'), repositoryFiles: { - resourcePath: '/projects/:id/repository/files' + resourcePath: '/projects/:id/repository/files/:file_path' }, mergeRequests: require('./merge_request'),