From 3bfc84eb829f1550e69466e38244655777e5cbb6 Mon Sep 17 00:00:00 2001 From: Rithvik Nishad Date: Sat, 25 Nov 2023 08:56:31 +0530 Subject: [PATCH] fix http 301 redirect due to missing trailing slash --- src/Redux/api.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Redux/api.tsx b/src/Redux/api.tsx index dd61affe816..8e1997e9edb 100644 --- a/src/Redux/api.tsx +++ b/src/Redux/api.tsx @@ -228,7 +228,7 @@ const routes = { }, deleteUser: { - path: "/api/v1/users/{username}", + path: "/api/v1/users/{username}/", method: "DELETE", TRes: Type>(), },