summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libpiano/request.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libpiano/request.c b/src/libpiano/request.c
index 7b73bc1..35124f4 100644
--- a/src/libpiano/request.c
+++ b/src/libpiano/request.c
@@ -175,8 +175,11 @@ PianoReturn_t PianoRequest (PianoHandle_t *ph, PianoRequest_t *req,
assert (reqData != NULL);
assert (reqData->trackToken != NULL);
+ assert (reqData->stationId != NULL);
assert (reqData->rating != PIANO_RATE_NONE);
+ json_object_object_add (j, "stationToken",
+ json_object_new_string (reqData->stationId));
json_object_object_add (j, "trackToken",
json_object_new_string (reqData->trackToken));
json_object_object_add (j, "isPositive",