infogare-api.js
Advanced tools
Comparing version 1.0.18 to 1.0.19
{ | ||
"name": "infogare-api.js", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"main": "src/core/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -339,7 +339,6 @@ const User = require('./User'); | ||
* @param {string} id The station ID | ||
* @param {string} trainId The train ID | ||
* @param {Train} train The train to add | ||
* @returns Nothing | ||
*/ | ||
async addTrain(uid, id, trainId, train) { | ||
async addTrain(uid, id, train) { | ||
if (!uid) { | ||
@@ -351,5 +350,2 @@ throw new Error('uid is required'); | ||
} | ||
if (!trainId) { | ||
throw new Error('trainId is required'); | ||
} | ||
if (!train) { | ||
@@ -356,0 +352,0 @@ throw new Error('train is required'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27827
899