Some fixes

This commit is contained in:
Riccardo
2021-01-06 16:15:11 +01:00
parent 9c0e997f10
commit 12b19e889f
2 changed files with 30 additions and 9 deletions

View File

@@ -77,6 +77,7 @@ export const resolvers = {
return await Appointment.create(args);
},
async updateAppointment(parent, args, context, info) {
console.log(args);
return await Appointment.findOneAndUpdate({
args
}, args, {