Skip to content

Instantly share code, notes, and snippets.

@mytc
mytc / meteor method save document using jagi astronomy v2
Created May 10, 2016
The method cannot be saved using jagi astronomy
View meteor method save document using jagi astronomy v2
EditSpace(data){
if(Roles.userIsInRole(this.userId, ['admin'])){
let input = {
title : data['title'].trim(),
content : data['content'],
location : data['location'],
tag : data['tag'],
col : Number(data['col']),
row : Number(data['row']),
}