Fixed manga import by replacing double quotes to single quotes

When using the default double quotes the YAML formatting was no longer correct.
This commit is contained in:
ltctceplrm 2024-01-22 20:27:51 +01:00 committed by GitHub
parent 99bf06dda9
commit 93c46e5848
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -105,7 +105,7 @@ export class MALAPIManga extends APIModel {
url: result.url,
id: result.mal_id,
plot: result.synopsis,
plot: (result.synopsis ?? 'unknown').replace(/"/g, "'") ?? 'unknown',
genres: result.genres?.map((x: any) => x.name) ?? [],
authors: result.authors?.map((x: any) => x.name) ?? [],
chapters: result.chapters,