Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mariovyord committed Jan 9, 2024
1 parent ea4cf1d commit 1af87c8
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .idea/express-ts-api.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/features/article/article-handlers.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { IJsonResponse } from "../../utils/json-response";
import * as articleService from "./article-service";
import { NextFunction, Request, Response } from "express";
import { BadRequestError, InternalServerError, NotFoundError } from "../../utils/app-error";
import { InternalServerError, NotFoundError } from "../../utils/app-error";
import { HttpStatusCode } from "../../utils/http-status-code";
import { IFullQuery } from "../../utils/build-query";

Expand Down
4 changes: 2 additions & 2 deletions src/utils/build-query.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Repository } from "typeorm";

export interface IFullQuery {
where?: string | string[];
sortBy?: string | string[];
Expand All @@ -8,8 +10,6 @@ export interface IFullQuery {
count?: string;
}

import { Repository } from "typeorm";

export interface IFullQuery {
where?: string | string[];
sortBy?: string | string[];
Expand Down

0 comments on commit 1af87c8

Please sign in to comment.