3840d4ff63
Remove padIds from the closed captions MongoDB collection subscription. Users now have to fetch the padId from Meteor when needed. Meteor is responsible for checking the user's access level and return the proper id.
11 lines
329 B
JavaScript
11 lines
329 B
JavaScript
import { Meteor } from 'meteor/meteor';
|
|
import takeOwnership from '/imports/api/captions/server/methods/takeOwnership';
|
|
import appendText from '/imports/api/captions/server/methods/appendText';
|
|
import getPadId from '/imports/api/captions/server/methods/getPadId';
|
|
|
|
Meteor.methods({
|
|
takeOwnership,
|
|
appendText,
|
|
getPadId,
|
|
});
|