mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 18:25:24 +00:00
Renamed model in bundle
This commit is contained in:
@@ -16,11 +16,8 @@ export async function createPass(options: FactoryOptions): Promise<Pass> {
|
|||||||
throw new Error("Unable to create Pass: no options were passed");
|
throw new Error("Unable to create Pass: no options were passed");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Voglio leggere i certificati
|
|
||||||
// Voglio leggere il model (se non è un oggetto)
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const [model, certificates] = await Promise.all([
|
const [bundle, certificates] = await Promise.all([
|
||||||
getModelContents(options.model),
|
getModelContents(options.model),
|
||||||
readCertificatesFromOptions(options.certificates)
|
readCertificatesFromOptions(options.certificates)
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user