mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Merge pull request #5583 from Ocelot-Social-Community/update-group-avatar-on-upload
fix: 🍰 Update Group Avatar After Upload
This commit is contained in:
commit
831cb20952
@ -8,7 +8,8 @@ export default {
|
|||||||
return resolve(root, args, context, info)
|
return resolve(root, args, context, info)
|
||||||
},
|
},
|
||||||
UpdateGroup: async (resolve, root, args, context, info) => {
|
UpdateGroup: async (resolve, root, args, context, info) => {
|
||||||
args.descriptionExcerpt = trunc(args.description, DESCRIPTION_EXCERPT_HTML_LENGTH).html
|
if (args.description)
|
||||||
|
args.descriptionExcerpt = trunc(args.description, DESCRIPTION_EXCERPT_HTML_LENGTH).html
|
||||||
return resolve(root, args, context, info)
|
return resolve(root, args, context, info)
|
||||||
},
|
},
|
||||||
CreatePost: async (resolve, root, args, context, info) => {
|
CreatePost: async (resolve, root, args, context, info) => {
|
||||||
|
|||||||
@ -93,7 +93,9 @@ export const updateGroupMutation = () => {
|
|||||||
name
|
name
|
||||||
icon
|
icon
|
||||||
}
|
}
|
||||||
# avatar # test this as result
|
avatar {
|
||||||
|
url
|
||||||
|
}
|
||||||
locationName
|
locationName
|
||||||
myRole
|
myRole
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user