if (shift21) {
campersInRoom.forEach(async (doc) => {
try {
await Meteor.callAsync('changeShift', doc.FullName, props.campLabel, shift21);
messageApi.open({ type: 'success', content: `Room ${radio} changed` });
} catch (error) {
messageApi.open({ type: 'error', content: `Something went wrong. ${error}` });
}
// Meteor.call('changeShift', doc.FullName, props.campLabel, shift21, (err) => {
// if (err) {
// messageApi.error(err.reason);
// }
// });
});
}
Generates client side error: âException while simulating the effect of invoking âchangeShiftâ Error: Called saveOriginals twice without retrieveOriginalsâ
Anyone familiar with this error?