2018-11-06 09:30:27 +00:00
|
|
|
import gql from 'graphql-tag';
|
|
|
|
|
|
|
|
export const UPLOAD_PICTURE = gql`
|
2019-05-31 15:58:03 +00:00
|
|
|
mutation UploadPicture($file: Upload!, $alt: String, $name: String!, $actorId: ID!){
|
|
|
|
uploadPicture(file: $file, alt: $alt, name: $name, actorId: $actorId) {
|
2018-11-06 09:30:27 +00:00
|
|
|
url,
|
2019-05-29 15:47:52 +00:00
|
|
|
id
|
2018-11-06 09:30:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|