"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));

var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));

var Login = /*#__PURE__*/function () {
  var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(app, opts, next) {
    var url;
    return _regenerator["default"].wrap(function _callee$(_context) {
      while (1) {
        switch (_context.prev = _context.next) {
          case 0:
            url = "/session";
            /**
             * Post For Insert Data From Database
             */

            _context.next = 3;
            return app.post(url, function (request, response) {});

          case 3:
            _context.next = 5;
            return app.get(url, function (request, response) {});

          case 5:
            _context.next = 7;
            return app.put(url, function (request, response) {});

          case 7:
            _context.next = 9;
            return app["delete"](url, function (request, response) {});

          case 9:
            _context.next = 11;
            return next();

          case 11:
          case "end":
            return _context.stop();
        }
      }
    }, _callee);
  }));

  return function Login(_x, _x2, _x3) {
    return _ref.apply(this, arguments);
  };
}();
//# sourceMappingURL=Session.js.map