WIP PWA for Grain
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: add required rkey parameter to updateSocialGrainActorProfile mutation

+3 -3
+3 -3
src/components/pages/grain-edit-profile.js
··· 21 21 `; 22 22 23 23 const UPDATE_PROFILE_MUTATION = ` 24 - mutation UpdateProfile($input: SocialGrainActorProfileInput!) { 25 - updateSocialGrainActorProfile(input: $input) { 24 + mutation UpdateProfile($rkey: String!, $input: SocialGrainActorProfileInput!) { 25 + updateSocialGrainActorProfile(rkey: $rkey, input: $input) { 26 26 uri 27 27 } 28 28 } ··· 292 292 input.avatar = null; 293 293 } 294 294 295 - await client.mutate(UPDATE_PROFILE_MUTATION, { input }); 295 + await client.mutate(UPDATE_PROFILE_MUTATION, { rkey: 'self', input }); 296 296 297 297 // Navigate back to settings 298 298 router.push('/settings');