summary refs log tree commit diff
path: root/src/api/routes/users/#id/relationships.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/users/#id/relationships.ts')
-rw-r--r--src/api/routes/users/#id/relationships.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/api/routes/users/#id/relationships.ts b/src/api/routes/users/#id/relationships.ts
index dfe52a5e..f18672b1 100644
--- a/src/api/routes/users/#id/relationships.ts
+++ b/src/api/routes/users/#id/relationships.ts
@@ -16,15 +16,15 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-import { Router, Request, Response } from "express";
-import { User } from "@spacebar/util";
 import { route } from "@spacebar/api";
+import { User } from "@spacebar/util";
+import { Request, Response, Router } from "express";
 
 const router: Router = Router();
 
 router.get(
 	"/",
-	route({ test: { response: { body: "UserRelationsResponse" } } }),
+	route({ responses: { 200: { body: "UserRelationsResponse" } } }),
 	async (req: Request, res: Response) => {
 		const mutual_relations: object[] = [];
 		const requested_relations = await User.findOneOrFail({