Appointment with Mongo

This commit is contained in:
Riccardo
2021-01-02 18:37:03 +01:00
parent 30407cac0a
commit c752e3ec80
12 changed files with 330 additions and 112 deletions

View File

@@ -6,14 +6,14 @@ import { FEED_QUERY } from './AppointmentList';
const CREATE_APPOINTMENT_MUTATION = gql`
mutation CreateAppointmentMutation(
$title: String!
$description: String!
$url: String!
) {
createAppointment(description: $description, url: $url) {
createAppointment(title: $title, description: $description) {
id
createdAt
url
title
description
createdAt
}
}
`;