Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hospital-service
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Roshan Suvarnkar
hospital-service
Merge requests
!6
added DR update API
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Open
added DR update API
updateDRAPI
into
develop-beta
Overview
9
Commits
12
Pipelines
0
Changes
1
9 open threads
Hide all comments
Open
added DR update API
Prathviraj Suryakant Thokal
requested to merge
updateDRAPI
into
develop-beta
2 months ago
Overview
9
Commits
12
Pipelines
0
Changes
1
9 open threads
Hide all comments
0
0
Merge request reports
Viewing commit
19537d5a
Prev
Next
Show latest version
1 file
+
0
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
19537d5a
resloved comments
· 19537d5a
Prathviraj Suryakant Thokal
authored
2 months ago
src/doctors/doctors.service.ts
+
0
−
5
View file @ 19537d5a
Edit in single-file editor
Open in Web IDE
Show full file
@@ -72,11 +72,6 @@ export class DoctorsService {
);
}
//in DB Unique key constraints for registration_no. Will throw error if body has duplicate registration_no
if
(
existingDoctor
?.
registration_no
==
doctorRegNo
)
{
throw
new
AppException
(
`Duplicate registration number found.`
,
'
409
'
);
}
// Deactivate the old doctor record
await
this
.
prisma
.
doctor_master
.
update
({
where
:
{
id
:
doctorId
},
Loading