Chore(backend): Enable attaching attachments to companies and people (backend) (#1726)
Enable attaching attachments to companies and people (backend) Co-authored-by: v1b3m <vibenjamin6@gmail.com>
This commit is contained in:
@ -1,7 +1,17 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPLOAD_ATTACHMENT = gql`
|
||||
mutation UploadAttachment($file: Upload!, $activityId: String!) {
|
||||
uploadAttachment(file: $file, activityId: $activityId)
|
||||
mutation UploadAttachment(
|
||||
$file: Upload!
|
||||
$activityId: String!
|
||||
$companyId: String!
|
||||
$personId: String!
|
||||
) {
|
||||
uploadAttachment(
|
||||
file: $file
|
||||
activityId: $activityId
|
||||
companyId: $companyId
|
||||
personId: $personId
|
||||
)
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user