Added creation of email based CSI BOD-108
This commit is contained in:
@@ -21,3 +21,21 @@ export const COMPLETE_SURVEY = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const GET_CURRENT_QUESTIONSET_ID = gql`
|
||||
query GET_CURRENT_QUESTIONSET_ID {
|
||||
csiquestions(where: { current: { _eq: true } }) {
|
||||
id
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const INSERT_CSI = gql`
|
||||
mutation INSERT_CSI($csiInput: [csi_insert_input!]!) {
|
||||
insert_csi(objects: $csiInput) {
|
||||
returning {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user