From 57bae5b315bf081cc601c7fbe90faf88fd60c992 Mon Sep 17 00:00:00 2001 From: Muhammad Aaqil Date: Sat, 10 Aug 2024 13:17:32 +0500 Subject: [PATCH] fix: remove duplicate targetModelClassName import in has-one relation template Signed-off-by: Muhammad Aaqil --- .../templates/controller-relation-template-has-one.ts.ejs | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/cli/generators/relation/templates/controller-relation-template-has-one.ts.ejs b/packages/cli/generators/relation/templates/controller-relation-template-has-one.ts.ejs index ed64940eb638..9428973b310b 100644 --- a/packages/cli/generators/relation/templates/controller-relation-template-has-one.ts.ejs +++ b/packages/cli/generators/relation/templates/controller-relation-template-has-one.ts.ejs @@ -18,7 +18,6 @@ import { import {<%if (sourceModelClassName != targetModelClassName) { %> <%= sourceModelClassName %>,<% } %> <%= targetModelClassName %>, - <%= targetModelClassName %>, } from '../models'; import {<%= sourceRepositoryClassName %>} from '../repositories';