diff --git a/lib/logic/entities/Team.js b/lib/logic/entities/Team.js index 44b3a955a..17cdb5d0b 100644 --- a/lib/logic/entities/Team.js +++ b/lib/logic/entities/Team.js @@ -28,7 +28,7 @@ class Team extends Entity { type: response.type, account: response.account, tags: response.tags, - users: response.users.map(({ id, userName }) => ({ id, userName })), + users: response.users.map(({ _id, userName }) => ({ id: _id, userName })), }); } } diff --git a/package.json b/package.json index b9e7f634f..389864fbe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codefresh", - "version": "0.80.0", + "version": "0.80.1", "description": "Codefresh command line utility", "main": "index.js", "preferGlobal": true, @@ -113,4 +113,4 @@ "./test-setup.js" ] } -} \ No newline at end of file +}