Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enquiry about RepositoryFiles section from the node-gitlab package #68

Open
MK1993 opened this issue Aug 10, 2019 · 1 comment
Open

Comments

@MK1993
Copy link

MK1993 commented Aug 10, 2019

Hi!
I use node-gitlab package (Gitlab API Node.js client) in order to get a file from a gitlab repository . I followed what exists in the official documentation concerning this one (https://www.npmjs.com/package/node-gitlab) and I tried this function (see the capture below) but I received this error during the execution.
Any idea about how to resolve this?
Thanks in advance!

Here is the code that I tried:
Capture

The result that I supposed to get:
Capture1

The output:
Capture2

The function :
Capture3

@MK1993 MK1993 changed the title Enquiry about RepositoryFiles section from the node-gitlab plugin Enquiry about RepositoryFiles section from the node-gitlab package Aug 10, 2019
@avtpas
Copy link

avtpas commented Mar 23, 2020

Me too, after looking at the source code, it may be that the restful api missed a parameter ': file_path', I am not sure if this is a bug
image
after, it works well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants