2022-10-24 21:11:28 +08:00
|
|
|
import pinPad from '/imports/api/pads/server/modifiers/pinPad';
|
|
|
|
|
2023-03-16 22:00:45 +08:00
|
|
|
export default async function padPinned({ header, body }) {
|
2022-10-24 21:11:28 +08:00
|
|
|
const {
|
|
|
|
meetingId,
|
|
|
|
} = header;
|
|
|
|
|
|
|
|
const {
|
|
|
|
externalId,
|
|
|
|
pinned,
|
|
|
|
} = body;
|
|
|
|
|
2023-03-16 22:00:45 +08:00
|
|
|
await pinPad(meetingId, externalId, pinned);
|
2022-10-24 21:11:28 +08:00
|
|
|
}
|