janstuemmel/campfhir-server

View on GitHub
lib/controller/create.js

Summary

Maintainability
A
1 hr
Test Coverage

Function exports has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = (req, res) => {

  // check if it is a fhir ressource
  if (!checkResourceType(req.params.type)) {
    return res.status(404).send(createError(
Severity: Minor
Found in lib/controller/create.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status