Clarify GraphQL following methods on user

Remove `following` and replace it with `usersFollowed` and
`languagesFollowed`
This commit is contained in:
2023-01-18 11:12:57 +01:00
parent c5f5e770e2
commit 4faaaf244d
2 changed files with 50 additions and 6 deletions

View File

@@ -293,7 +293,7 @@ pub struct LangTranslatesTo {
#[derive(Queryable, Insertable, Debug, Clone, PartialEq, Eq)]
#[diesel(table_name = userfollowlanguage)]
pub struct UserFollowLanguage {
id: i32,
lang: Uuid,
userid: String,
pub id: i32,
pub lang: Uuid,
pub userid: String,
}