From 985190c683b6655d811cef55e7082b85ed2a0644 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Tue, 9 Apr 2024 20:42:07 -1000 Subject: [PATCH] Fix to unfollow route --- server/api/api/v1/accounts/[id]/unfollow.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/api/api/v1/accounts/[id]/unfollow.ts b/server/api/api/v1/accounts/[id]/unfollow.ts index 6ec53ca3..db3b89d6 100644 --- a/server/api/api/v1/accounts/[id]/unfollow.ts +++ b/server/api/api/v1/accounts/[id]/unfollow.ts @@ -74,6 +74,7 @@ export default apiRoute(async (req, matchedRoute, extraData) => { where: { id: relationship.id }, data: { following: false, + requested: false, }, });