Browse Source

Add Rack version to plugin request

tags/v0.5.1
Andrew Belt 7 years ago
parent
commit
862d9ed575
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/plugin.cpp

+ 1
- 0
src/plugin.cpp View File

@@ -359,6 +359,7 @@ void pluginRefresh() {
downloadName = "";

json_t *reqJ = json_object();
json_object_set(reqJ, "version", json_string(gApplicationVersion.c_str()));
json_object_set(reqJ, "token", json_string(gToken.c_str()));
json_t *resJ = requestJson(METHOD_GET, gApiHost + "/purchases", reqJ);
json_decref(reqJ);


Loading…
Cancel
Save