This commit is contained in:
@@ -21,27 +21,19 @@ mutation getProfileImageUploadLink($fileExt: String = ".png") {
|
||||
|
||||
mutation editProfileImageUri($profileImageUri: String!) {
|
||||
editProfileImageUri(profileImageUri: $profileImageUri) {
|
||||
id
|
||||
firebaseUid
|
||||
username
|
||||
profileImageUri
|
||||
createdAt
|
||||
updatedAt
|
||||
...UserFragment
|
||||
}
|
||||
}
|
||||
|
||||
query getLoggedInUser {
|
||||
getLoggedInUser {
|
||||
id
|
||||
firebaseUid
|
||||
username
|
||||
isAdmin
|
||||
profileImageUri
|
||||
fargoRating
|
||||
activeVideoId
|
||||
createdAt
|
||||
updatedAt
|
||||
videosPrivateByDefault
|
||||
...UserFragment
|
||||
}
|
||||
}
|
||||
|
||||
query GetUser($userId: Int!) {
|
||||
getUser(userId: $userId) {
|
||||
...UserFragment
|
||||
}
|
||||
}
|
||||
|
||||
@@ -157,3 +149,16 @@ mutation editUser(
|
||||
videosPrivateByDefault
|
||||
}
|
||||
}
|
||||
|
||||
fragment UserFragment on UserGQL {
|
||||
id
|
||||
firebaseUid
|
||||
username
|
||||
isAdmin
|
||||
profileImageUri
|
||||
fargoRating
|
||||
activeVideoId
|
||||
createdAt
|
||||
updatedAt
|
||||
videosPrivateByDefault
|
||||
}
|
||||
|
Reference in New Issue
Block a user