2022-09-09 11:53:35 +00:00
|
|
|
import { gql } from '@urql/core'
|
|
|
|
// WARNING: need Auth header
|
|
|
|
|
|
|
|
export default gql`
|
2022-12-01 17:16:14 +00:00
|
|
|
mutation ProfileUpdateMutation($profile: ProfileInput!) {
|
|
|
|
updateProfile(profile: $profile) {
|
2022-09-09 11:53:35 +00:00
|
|
|
error
|
2022-12-01 17:16:14 +00:00
|
|
|
author {
|
2022-09-09 11:53:35 +00:00
|
|
|
name
|
|
|
|
slug
|
|
|
|
userpic
|
|
|
|
bio
|
2022-12-01 17:16:14 +00:00
|
|
|
links
|
2022-09-09 11:53:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`
|