File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import {flags} from '@heroku-cli/command'
33import { Args , ux } from '@oclif/core'
44import Command from '../../../lib/base'
55import type { ModelResource } from '@heroku/ai'
6- import { APIClient } from '@heroku-cli/command'
6+
77import * as Heroku from '@heroku-cli/schema'
88
99export default class Info extends Command {
@@ -74,8 +74,7 @@ export default class Info extends Command {
7474 } else {
7575 const provisionedModelsInfo : Record < string , string | undefined > [ ] = [ ]
7676 const inferenceRegex = / i n f e r e n c e /
77- const herokuClient = new APIClient ( this . config )
78- const { body : addonsResponse } = await herokuClient . get < Heroku . AddOn > ( `/apps/${ app } /addons` , {
77+ const { body : addonsResponse } = await this . heroku . get < Heroku . AddOn > ( `/apps/${ app } /addons` , {
7978 headers : { 'Accept-Expansion' : 'plan' } ,
8079 } )
8180
You can’t perform that action at this time.
0 commit comments