db/SessionManager.js: "groupMangager" -> "groupManager"

Extracted from Ray's work.
pull/3559/head
muxator 2019-02-09 02:18:36 +01:00
parent 11453d544c
commit 98993fe156
1 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ var customError = require("../utils/customError");
var randomString = require("../utils/randomstring");
var db = require("./DB").db;
var async = require("async");
var groupMangager = require("./GroupManager");
var groupManager = require("./GroupManager");
var authorMangager = require("./AuthorManager");
exports.doesSessionExist = function(sessionID, callback)
@ -47,7 +47,7 @@ exports.createSession = function(groupID, authorID, validUntil, callback)
// check if the group exists
function(callback)
{
groupMangager.doesGroupExist(groupID, function(err, exists)
groupManager.doesGroupExist(groupID, function(err, exists)
{
if(ERR(err, callback)) return;
@ -271,7 +271,7 @@ exports.deleteSession = function(sessionID, callback)
exports.listSessionsOfGroup = function(groupID, callback)
{
groupMangager.doesGroupExist(groupID, function(err, exists)
groupManager.doesGroupExist(groupID, function(err, exists)
{
if(ERR(err, callback)) return;