Add getServerInfo meteor method so people can rely on the methods instead of falling back to the rest api
parent
2f60510e3d
commit
1ece84c2af
@ -0,0 +1,5 @@ |
||||
Meteor.methods({ |
||||
getServerInfo() { |
||||
return RocketChat.Info; |
||||
} |
||||
}); |
||||
Loading…
Reference in new issue