From fe75393ab0f0fca7ea410a34d9c50ff0b2363635 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Wed, 19 Feb 2020 16:06:47 +0100 Subject: [PATCH] Fix friend count --- src/lib/models/User.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/models/User.ts b/src/lib/models/User.ts index 56578b0..0457d02 100644 --- a/src/lib/models/User.ts +++ b/src/lib/models/User.ts @@ -312,7 +312,7 @@ export class User extends Model { * The total number of the users friends. */ public async friendCount(): Promise { - return await this.$count("rFriends") + await this.$count("rFriendOf"); + return this.$count("rFriends"); } /**