Skip to content

Commit

Permalink
Fixes app name returned from particleboard
Browse files Browse the repository at this point in the history
  • Loading branch information
subakva committed May 27, 2022
1 parent b8292f3 commit e44af3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/apps-v5/src/commands/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ async function run(context, heroku) {
host: 'particleboard.heroku.com',
path: '/favorites?type=app',
headers: { Range: '' }
}).then((apps) => apps.map((app) => app.app_name))
}).then((apps) => apps.map((app) => app.resource_name))
}

function fetchMetrics (apps) {
Expand Down
2 changes: 1 addition & 1 deletion packages/apps-v5/test/commands/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ See other CLI commands with heroku help
describe('with a favorite app', () => {
it('shows the dashboard', () => {
let longboard = nock('https://particleboard.heroku.com:443')
.get('/favorites?type=app').reply(200, [{ app_name: 'myapp' }])
.get('/favorites?type=app').reply(200, [{ resource_name: 'myapp' }])
let heroku = nock('https://api.heroku.com:443')
.get('/teams').reply(200, [])
.get('/apps/myapp').reply(200, {
Expand Down

0 comments on commit e44af3e

Please sign in to comment.