Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_android_sdk_maven_plugin
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Panagiotis Triantafyllou
2026-03-18 17:32:25 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5bf0651edca303987b86a0b138f4bfec2eed57ce
5bf0651e
1 parent
3c21f4ce
fixed get couponsets
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/io/volley/ApiService.java
warply_android_sdk/src/main/java/ly/warp/sdk/utils/managers/WarplyManager.java
warply_android_sdk/src/main/java/ly/warp/sdk/io/volley/ApiService.java
View file @
5bf0651
...
...
@@ -147,7 +147,7 @@ public interface ApiService {
@Header
(
WarpConstants
.
HEADER_AUTHORIZATION
)
String
bearer
);
@Headers
(
"Content-Type: application/json"
)
@POST
(
"/
api/mobile/v2/{appUuid}/context/
"
)
@POST
(
"/
oauth/{appUuid}/context
"
)
Call
<
ResponseBody
>
getCouponsets
(
@Path
(
"appUuid"
)
String
appUuid
,
@Body
RequestBody
request
,
@Header
(
WarpConstants
.
HEADER_DATE
)
String
timeStamp
,
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/utils/managers/WarplyManager.java
View file @
5bf0651
...
...
@@ -581,7 +581,7 @@ public class WarplyManager {
if
(
jobjCouponsetsResponse
!=
null
&&
jobjCouponsetsResponse
.
has
(
"status"
)
&&
jobjCouponsetsResponse
.
optString
(
"status"
,
"2"
).
equals
(
"1"
))
{
JSONArray
jCouponsetsBody
=
null
;
try
{
jCouponsetsBody
=
jobjCouponsetsResponse
.
optJSON
Object
(
"context"
).
optJSONArray
(
"MAPP_COUPON
"
);
jCouponsetsBody
=
jobjCouponsetsResponse
.
optJSON
Array
(
"result
"
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
...
...
Please
register
or
login
to post a comment