Skip to content

Commit 1dd10a4

Browse files
committed
link to manifest itself
1 parent b523a64 commit 1dd10a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cli/handlers/manifest/generate.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ async function handler(
259259
Deno.exit(1);
260260
}
261261

262+
const responseBody = await response.json() as { id: number };
263+
262264
const duration = Date.now() - start;
263265
console.info(
264266
`✅ Manifest uploaded successfully for project id: ${projectId} in ${duration}ms`,
@@ -269,7 +271,7 @@ async function handler(
269271

270272
if (globalConfig.apiHost === defaultApiHost) {
271273
console.info(
272-
`\nView it here: https://app.nanoapi.io/projects/${projectId}/manifests`,
274+
`\nView it here: https://app.nanoapi.io/projects/${projectId}/manifests/${responseBody.id}`,
273275
);
274276
}
275277
} catch (error) {

0 commit comments

Comments
 (0)