Initial commit
This commit is contained in:
parent
9ed5089508
commit
78e0e82449
16 changed files with 317 additions and 15 deletions
|
|
@ -12,10 +12,10 @@ MScripts.allow({
|
|||
});
|
||||
|
||||
Meteor.methods({
|
||||
'set.ScriptRun' (scriptName) {
|
||||
async 'set.ScriptRun' (scriptName) {
|
||||
check(scriptName, String);
|
||||
|
||||
MScripts.insertAsync({
|
||||
return await MScripts.insertAsync({
|
||||
scriptName: scriptName,
|
||||
hasRun: true,
|
||||
runOn: new Date(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue