[chronojump] Fixed json/compujump GetTasks person.id -> person_user.id for new django code
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed json/compujump GetTasks person.id -> person_user.id for new django code
- Date: Wed, 6 Jan 2021 13:29:20 +0000 (UTC)
commit f1cce351f70936dd01875e30eb243178e04c86b2
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Jan 6 14:25:37 2021 +0100
Fixed json/compujump GetTasks person.id -> person_user.id for new django code
src/json/compujump.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/json/compujump.cs b/src/json/compujump.cs
index fb7416948..0dc27511f 100644
--- a/src/json/compujump.cs
+++ b/src/json/compujump.cs
@@ -107,7 +107,7 @@ public class JsonCompujump : Json
{
JsonValue jsonPerson = JsonValue.Parse(strPerson);
- Int32 id = jsonPerson ["id"];
+ Int32 id = jsonPerson ["user_id"];
string player = jsonPerson ["name"];
double weight = jsonPerson ["weight"];
double height = jsonPerson ["height"];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]