Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
refac: refactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
EjembiEmmanuel committed Nov 26, 2024
1 parent 498a712 commit 1e8e7d9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 0 additions & 4 deletions backend/src/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,3 @@ export class AppService {
return 'Hello World!';
}
}

import { PrismaClient } from '@prisma/client';

const prisma = new PrismaClient();
2 changes: 1 addition & 1 deletion backend/src/manufacturer/manufacturer.controller.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Controller, Post, Body } from '@nestjs/common';
import { Controller, Post, Body, Get } from '@nestjs/common';
import { ManufacturerService } from './manufacturer.service';
import { CreateManufacturerDto } from './dto/create-manufacturer.dto';

Expand Down
4 changes: 1 addition & 3 deletions backend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"strictNullChecks": false,
"noImplicitAny": false,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false
"forceConsistentCasingInFileNames": false
}
}

0 comments on commit 1e8e7d9

Please sign in to comment.