mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-04 21:08:09 +03:00
rename value to result
This commit is contained in:
@@ -47,5 +47,5 @@ async function EvaluateStats(details: ShowcaseStatDetails, userID: integer, game
|
||||
GetRelatedStatDocuments(details, game),
|
||||
]);
|
||||
|
||||
return { stat: details, value: result, related };
|
||||
return { stat: details, result, related };
|
||||
}
|
||||
|
||||
+3
-3
@@ -54,7 +54,7 @@ t.test("GET /api/v1/users/:userID/games/:game/:playtype/showcase", (t) => {
|
||||
stat: {
|
||||
mode: "folder",
|
||||
},
|
||||
value: {
|
||||
result: {
|
||||
value: 1,
|
||||
outOf: 1,
|
||||
},
|
||||
@@ -63,7 +63,7 @@ t.test("GET /api/v1/users/:userID/games/:game/:playtype/showcase", (t) => {
|
||||
stat: {
|
||||
mode: "chart",
|
||||
},
|
||||
value: {
|
||||
result: {
|
||||
value: 1479,
|
||||
},
|
||||
},
|
||||
@@ -105,7 +105,7 @@ t.test("GET /api/v1/users/:userID/games/:game/:playtype/showcase", (t) => {
|
||||
stat: {
|
||||
mode: "folder",
|
||||
},
|
||||
value: {
|
||||
result: {
|
||||
value: 0,
|
||||
outOf: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user