creator instead of factory, as it does registration and authentication

This commit is contained in:
Bruno Windels 2018-09-11 15:02:02 +02:00
parent 3c5e73d644
commit 48d95c228a
2 changed files with 4 additions and 4 deletions

View file

@ -19,7 +19,7 @@ const exec = util.promisify(require('child_process').exec);
const request = require('request-promise-native');
const RestSession = require('./session');
module.exports = class RestSessionFactory {
module.exports = class RestSessionCreator {
constructor(synapseSubdir, hsUrl, cwd) {
this.synapseSubdir = synapseSubdir;
this.hsUrl = hsUrl;