mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2025-04-29 08:20:30 +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());
|
HttpResponse<InputStream> resp = Constants.h2client.send(builder.build(), BodyHandlers.ofInputStream());
|
||||||
|
|
||||||
if (resp.statusCode() == 204) {
|
if (resp.statusCode() == 202) {
|
||||||
if (pubsub == null)
|
if (pubsub == null)
|
||||||
pubsub = new PubSub(channelId, System.currentTimeMillis());
|
pubsub = new PubSub(channelId, System.currentTimeMillis());
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user