mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Resp code should be 202 and not 204.
This commit is contained in:
parent
6641ddc043
commit
8c6ada2acf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue