From 55b6ba209b21197c60bc9d0e431e4dd951922269 Mon Sep 17 00:00:00 2001 From: Rosanny <rosanny.sihombing@hft-stuttgart.de> Date: Tue, 21 Jun 2022 15:13:00 +0200 Subject: [PATCH] refactor --- controller/controller.ts | 4 ++-- {functions => controller}/gitlab.ts | 0 {functions => utils}/helpers.ts | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {functions => controller}/gitlab.ts (100%) rename {functions => utils}/helpers.ts (100%) diff --git a/controller/controller.ts b/controller/controller.ts index 34a3e17..9ecf76c 100644 --- a/controller/controller.ts +++ b/controller/controller.ts @@ -1,5 +1,5 @@ -import helpers from '../functions/helpers' -import gitlab from '../functions/gitlab' +import helpers from '../utils/helpers' +import gitlab from './gitlab' import https from 'https' const dbconn = require('../config/dbconn') diff --git a/functions/gitlab.ts b/controller/gitlab.ts similarity index 100% rename from functions/gitlab.ts rename to controller/gitlab.ts diff --git a/functions/helpers.ts b/utils/helpers.ts similarity index 100% rename from functions/helpers.ts rename to utils/helpers.ts -- GitLab