18 lines
321 B
JavaScript
18 lines
321 B
JavaScript
|
import updatePad from '/imports/api/pads/server/modifiers/updatePad';
|
||
|
|
||
|
export default function padUpdated({ header, body }) {
|
||
|
const {
|
||
|
meetingId,
|
||
|
} = header;
|
||
|
|
||
|
const {
|
||
|
externalId,
|
||
|
padId,
|
||
|
userId,
|
||
|
rev,
|
||
|
changeset,
|
||
|
} = body;
|
||
|
|
||
|
updatePad(meetingId, externalId, padId, userId, rev, changeset);
|
||
|
}
|