mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-06 22:07:58 +03:00
slightly decrease tap branch leniency because it's getting hard to keep up
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ timeout: 120 # might need to be increased
|
||||
ts: true
|
||||
before: "./src/test-utils/hack-setup.js"
|
||||
check-coverage: true
|
||||
branches: 80
|
||||
branches: 75
|
||||
functions: 80
|
||||
lines: 80
|
||||
statements: 80
|
||||
|
||||
+3
-3
@@ -54,9 +54,9 @@ router.get("/", async (req, res) => {
|
||||
* @param mode - "folder" or "chart"
|
||||
* @param prop - "grade" | "lamp" | "score" | "percent" and "playcount" if mode is chart.
|
||||
* @param chartID - If mode is "chart" this must contain the chartID the stat is referencing.
|
||||
* @param folderID - If mode is "folder" this must contain the folderID the stat is referencing.
|
||||
* @param gte - If mode is "folder" this must contain the value the property must be greater than.
|
||||
*
|
||||
*
|
||||
* @name GET /api/v1/users/:userID/games/:game/:playtype/showcase/custom
|
||||
*/
|
||||
router.get("/custom", async (req, res) => {
|
||||
@@ -154,12 +154,12 @@ router.get("/custom", async (req, res) => {
|
||||
return res.status(200).json({
|
||||
success: true,
|
||||
description: `Evaluated Stat for ${user.username}`,
|
||||
body: { result, related },
|
||||
body: { stat, result, related },
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* Replaces a user's preferred stats.
|
||||
* Replaces a user's stat showcase.
|
||||
*
|
||||
* @name PUT /api/v1/users/:userID/games/:game/:playtype/showcase
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user