mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-13 22:00:29 +05:30
Resp code should be 202 and not 204.
This commit is contained in:
parent
6641ddc043
commit
8c6ada2acf
@ -980,7 +980,7 @@ public class ResponseHelper {
|
||||
|
||||
HttpResponse<InputStream> resp = Constants.h2client.send(builder.build(), BodyHandlers.ofInputStream());
|
||||
|
||||
if (resp.statusCode() == 204) {
|
||||
if (resp.statusCode() == 202) {
|
||||
if (pubsub == null)
|
||||
pubsub = new PubSub(channelId, System.currentTimeMillis());
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user