mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Provide information about the comic updated in UpdateComicControllerV2
This commit is contained in:
@ -44,7 +44,12 @@ void UpdateComicControllerV2::service(HttpRequest &request, HttpResponse &respon
|
||||
DBHelper::setComicAsReading(libraryId, info);
|
||||
}
|
||||
}
|
||||
|
||||
error = false;
|
||||
updatedLibraryId = libraryId;
|
||||
updatedComicId = comicId;
|
||||
} else {
|
||||
error = true;
|
||||
response.setStatus(412, "No comic info received");
|
||||
response.write("", true);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user