diff --git a/index.js b/index.js index ea1cf3a..d4445a3 100644 --- a/index.js +++ b/index.js @@ -216,7 +216,7 @@ class Dalai { return } - let [Core, Model] = req.model.split(".") + let [Core, Model] = req.models[0].split(".") Model = Model.toUpperCase() console.log( { Core, Model } )