Skip to content

Commit

Permalink
fix: review
Browse files Browse the repository at this point in the history
  • Loading branch information
david-nathanael committed Mar 30, 2023
1 parent a0affff commit 988f7ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/modules/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import fastifySwaggerUi from "@fastify/swagger-ui";
import { JsonSchemaToTsProvider } from "@fastify/type-provider-json-schema-to-ts";
import fastify, { FastifyServerOptions } from "fastify";

import pJson from "../../../package.json";
import { coreRoutes } from "./core.routes";
import { userRoutes } from "./user.routes";

Expand All @@ -22,9 +23,8 @@ export function build(opts: FastifyServerOptions = {}) {
swagger: {
info: {
title: "Documentation BAL",
version: process.env.npm_package_version as string,
version: pJson.version,
},
schemes: ["http"],
consumes: ["application/json"],
produces: ["application/json"],
},
Expand Down

0 comments on commit 988f7ab

Please sign in to comment.