Skip to content

Commit fc07744

Browse files
committed
fix(update): changes output variable name to match what comes from commander
1 parent 0bdd96c commit fc07744

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/commands/application

‎src/commands/application/get.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ export async function executeGet(id:string, options: Record<string, any>): Promi
1313
const {
1414
host = 'http://localhost:9011',
1515
key,
16-
filePath = `./${id}.json`
16+
output = `./${id}.json`
1717
} = options
1818

1919
if (!host || !key) throw new Error("You must provide a FusionAuth host and an API key")
2020
try {
21-
const fullPath = path.resolve(filePath);
21+
const fullPath = path.resolve(output);
2222
const httpClient = new HTTPClient(host, key);
2323
const response = await httpClient.executeRequest('GET', `/api/application/${id}`)
2424
if (response.status != 200) throw response

0 commit comments

Comments
 (0)