[gtranslator/dl-integration: 11/18] dl-integration: Fix module details endpoint



commit 1b2e25fa21234db7f00bcb09b3ce2573dcfcc00c
Author: Teja Cetinski <teja cetinski eu>
Date:   Mon Feb 11 14:09:37 2019 +0100

    dl-integration: Fix module details endpoint

 src/gtr-dl-teams.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gtr-dl-teams.c b/src/gtr-dl-teams.c
index 141c73ed..57b34878 100644
--- a/src/gtr-dl-teams.c
+++ b/src/gtr-dl-teams.c
@@ -151,7 +151,7 @@ gtr_dl_teams_load_module_details_json (GtkComboBox *combo,
   JsonNode *node = NULL;
 
   /* Get module details JSON from DL API */
-  module_endpoint = g_strconcat ((const gchar *)API_URL, priv->selected_module, NULL);
+  module_endpoint = g_strconcat ((const gchar *)API_URL, "modules/", priv->selected_module, NULL);
   msg = soup_message_new ("GET", module_endpoint);
   session = soup_session_new ();
   status = soup_session_send_message (session, msg);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]