From 536df2931b958c9b8b51b2ca74ef31cb5f9d8c6d Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Thu, 26 Mar 2020 12:14:46 +0100 Subject: [PATCH] Rename file --- src/controllers/MoviesController.ts | 2 +- src/entities/AccountExport.ts | 2 +- src/entities/{Movies.ts => Movie.ts} | 0 src/helpers/MoviesHelper.ts | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/entities/{Movies.ts => Movie.ts} (100%) diff --git a/src/controllers/MoviesController.ts b/src/controllers/MoviesController.ts index b27bb6f..2c8a76d 100644 --- a/src/controllers/MoviesController.ts +++ b/src/controllers/MoviesController.ts @@ -1,6 +1,6 @@ import { RequestHandler } from "../entities/RequestHandler"; import { MoviesHelper } from "../helpers/MoviesHelper"; -import { Movie } from "../entities/Movies"; +import { Movie } from "../entities/Movie"; /** * Movies controller diff --git a/src/entities/AccountExport.ts b/src/entities/AccountExport.ts index cbd917c..1f3bd1d 100644 --- a/src/entities/AccountExport.ts +++ b/src/entities/AccountExport.ts @@ -9,7 +9,7 @@ import { Post } from "./Post"; import { Comment } from "./Comment"; import { UserLike } from "./UserLike"; import { SurveyResponse } from "./SurveyResponse"; -import { Movie } from "./Movies"; +import { Movie } from "./Movie"; export interface AccountExportBuilder { userID: number; diff --git a/src/entities/Movies.ts b/src/entities/Movie.ts similarity index 100% rename from src/entities/Movies.ts rename to src/entities/Movie.ts diff --git a/src/helpers/MoviesHelper.ts b/src/helpers/MoviesHelper.ts index bdd8a75..33b9b34 100644 --- a/src/helpers/MoviesHelper.ts +++ b/src/helpers/MoviesHelper.ts @@ -1,4 +1,4 @@ -import { Movie } from "../entities/Movies"; +import { Movie } from "../entities/Movie"; import { DatabaseHelper } from "./DatabaseHelper"; /**