db/SessionManager.js: "authorMangager" -> "authorManager"

Extracted from Ray's work.
This commit is contained in:
muxator 2019-02-09 02:19:14 +01:00
parent 98993fe156
commit b0846ded14
1 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ var randomString = require("../utils/randomstring");
var db = require("./DB").db; var db = require("./DB").db;
var async = require("async"); var async = require("async");
var groupManager = require("./GroupManager"); var groupManager = require("./GroupManager");
var authorMangager = require("./AuthorManager"); var authorManager = require("./AuthorManager");
exports.doesSessionExist = function(sessionID, callback) exports.doesSessionExist = function(sessionID, callback)
{ {
@ -64,7 +64,7 @@ exports.createSession = function(groupID, authorID, validUntil, callback)
// check if the author exists // check if the author exists
function(callback) function(callback)
{ {
authorMangager.doesAuthorExists(authorID, function(err, exists) authorManager.doesAuthorExists(authorID, function(err, exists)
{ {
if(ERR(err, callback)) return; if(ERR(err, callback)) return;
@ -287,7 +287,7 @@ exports.listSessionsOfGroup = function(groupID, callback)
exports.listSessionsOfAuthor = function(authorID, callback) exports.listSessionsOfAuthor = function(authorID, callback)
{ {
authorMangager.doesAuthorExists(authorID, function(err, exists) authorManager.doesAuthorExists(authorID, function(err, exists)
{ {
if(ERR(err, callback)) return; if(ERR(err, callback)) return;