mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-04-06 01:25:31 +00:00
* autoselect badges when rewarding and the suer still have free slots * improve semantics --------- Co-authored-by: Hendrik-cpu <62690517+Hendrik-cpu@users.noreply.github.com> Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
21 lines
388 B
TypeScript
21 lines
388 B
TypeScript
import gql from 'graphql-tag'
|
|
|
|
export const rewardTrophyBadge = gql`
|
|
mutation rewardTrophyBadge($badgeId: ID!, $userId: ID!) {
|
|
rewardTrophyBadge(badgeId: $badgeId, userId: $userId) {
|
|
id
|
|
badgeVerification {
|
|
id
|
|
isDefault
|
|
}
|
|
badgeTrophiesCount
|
|
badgeTrophies {
|
|
id
|
|
}
|
|
badgeTrophiesSelected {
|
|
id
|
|
}
|
|
}
|
|
}
|
|
`
|