From fc64ecf4dbe6b4b4a07df8d04f884fef336addc7 Mon Sep 17 00:00:00 2001 From: Frederick Katsura Date: Wed, 15 May 2024 22:31:27 -0400 Subject: [PATCH] Updated Key in Book Correction Submission Updated the key from cover_url to cover_image as that is what the API requires --- .../book-correction-form/book-correction-form.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/pages/book-correction-form/book-correction-form.component.ts b/src/app/pages/book-correction-form/book-correction-form.component.ts index 89045f7..9ba41e9 100644 --- a/src/app/pages/book-correction-form/book-correction-form.component.ts +++ b/src/app/pages/book-correction-form/book-correction-form.component.ts @@ -113,8 +113,8 @@ export class BookCorrectionFormComponent implements OnInit { if (this.correction.description !== this.existingData.description) { forSubmission.description = this.correction.description; } - if (this.correction.cover_url) { - forSubmission.cover_url = this.correction.cover_url; + if (this.correction.cover_image) { + forSubmission.cover_image = this.correction.cover_image; } if (this.correction.release_date !== this.existingData.release_date.split("T")[0]) { forSubmission.release_date = this.correction.release_date;