fix: fix generated resource paths

This commit is contained in:
Morten Olsen
2022-04-07 20:41:35 +02:00
parent f3d49ca086
commit 40457007ad
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ export class ArticleDB {
pdfs: {
a4: this.#assets.getPath(
path.resolve('/', 'articles', id, 'a4.gen.yml'),
)?.url || null,
) || null,
}
};

View File

@@ -71,7 +71,7 @@ export class ProfileDB {
structure.resume = this.#assets.getPath(
'profile',
'a4.gen.yml',
)?.url || null;
) || null;
return structure;
}