import fs from 'fs';
import path from 'path';

export default class {
  constructor(auth) {
    this.auth = auth;
  }

  process(httpRequest, httpResponse) {
    return new Promise((resolve, reject) => {
      let token = httpRequest.headers.authorization.substr(7);
      this.auth.userLogout(token);

      httpResponse.status(200);
      httpResponse.send({
        ok: 'Logged out'
      });
      resolve();
    });
  }
}
@@ -1,51 +1,4 @@
-import fs from 'fs';%0Aimport path from 'path';%0A%0A
 expo
@@ -139,16 +139,8 @@
 olve
-, reject
 ) =%3E

Improve -h information