'use strict';

var express = require('express');
var create = require('./create');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

var express__default = /*#__PURE__*/_interopDefault(express);

function router(ctx) {
  return express__default.default.Router({ mergeParams: true }).post(
    "/",
    create.create({
      ...ctx,
      log: ctx.log.child("create")
    })
  );
}

exports.router = router;
//# sourceMappingURL=index.js.map
//# sourceMappingURL=index.js.map