Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
fix: Use more descriptive parameter, don't use enum name since that c…
Browse files Browse the repository at this point in the history
…ould be changed unknowingly
  • Loading branch information
LisoUseInAIKyrios committed Sep 10, 2024
1 parent 45740b2 commit 6df5f07
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ public static byte[] removeVideoPlaybackPostBody(Uri uri, int method, byte[] pos
final int methodPost = 2;
if (method == methodPost) {
String path = uri.getPath();
String clientName = "c";
final boolean iosClient = ClientType.IOS.name().equals(uri.getQueryParameter(clientName));
String clientNameQueryKey = "c";
final boolean iosClient = "IOS".equals(uri.getQueryParameter(clientNameQueryKey));
if (iosClient && path != null && path.contains("videoplayback")) {
return null;
}
Expand Down

0 comments on commit 6df5f07

Please sign in to comment.