mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix(api): return 202 when same seasons are requested again
This commit is contained in:
@@ -164,7 +164,7 @@ requestRoutes.post(
|
|||||||
|
|
||||||
if (finalSeasons.length === 0) {
|
if (finalSeasons.length === 0) {
|
||||||
return next({
|
return next({
|
||||||
status: 500,
|
status: 202,
|
||||||
message: 'No seasons available to request',
|
message: 'No seasons available to request',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user