fix(striker-ui-api): change sequence number type in manifest detail

main
Tsu-ba-me 2 years ago
parent 4104b87b2d
commit 340a04de47
  1. 10
      striker-ui-api/src/lib/request_handlers/manifest/getManifestDetail.ts
  2. 2
      striker-ui-api/src/types/APIManifest.d.ts

@ -235,16 +235,8 @@ export const getManifestDetail: RequestHandler = (request, response) => {
ntpCsv, ntpCsv,
}, },
prefix, prefix,
sequence, sequence: Number.parseInt(sequence),
}; };
stdout(
`Extracted install manifest data:\n${JSON.stringify(
manifestData,
null,
2,
)}`,
);
response.status(200).send(manifestData); response.status(200).send(manifestData);
}; };

@ -69,7 +69,7 @@ type ManifestDetail = {
ntpCsv: string; ntpCsv: string;
}; };
prefix: string; prefix: string;
sequence: string; sequence: number;
}; };
type ManifestTemplate = { type ManifestTemplate = {

Loading…
Cancel
Save