2020-02-18 08:57:00 +01:00
|
|
|
import gql from "graphql-tag";
|
2018-11-06 10:30:27 +01:00
|
|
|
|
2020-02-18 08:57:00 +01:00
|
|
|
/* eslint-disable import/prefer-default-export */
|
2018-11-06 10:30:27 +01:00
|
|
|
export const UPLOAD_PICTURE = gql`
|
2020-02-18 08:57:00 +01:00
|
|
|
mutation UploadPicture($file: Upload!, $alt: String, $name: String!, $actorId: ID!) {
|
|
|
|
uploadPicture(file: $file, alt: $alt, name: $name, actorId: $actorId) {
|
|
|
|
url
|
|
|
|
id
|
2018-11-06 10:30:27 +01:00
|
|
|
}
|
2020-02-18 08:57:00 +01:00
|
|
|
}
|
2018-11-06 10:30:27 +01:00
|
|
|
`;
|