mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
Fixing broken object reference
This commit is contained in:
parent
02f75a7f10
commit
67df1c8772
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-gitlab-api",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.",
|
||||
"main": "src/index.js",
|
||||
"directories": {},
|
||||
|
||||
@ -19,7 +19,7 @@ class BaseModel {
|
||||
}
|
||||
|
||||
get(endpoint, options) {
|
||||
if (!options.page) {
|
||||
if (options && !options.page) {
|
||||
return getAllPages(this.client, endpoint, options);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user