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
12
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
Compare
version 4
version 9
8c507ab5
2 months ago
version 8
92b76668
2 months ago
version 7
d27bc12c
2 months ago
version 6
b7980027
2 months ago
version 5
19537d5a
2 months ago
version 4
6c9c0185
2 months ago
version 3
29012cae
2 months ago
version 2
6884657e
2 months ago
version 1
7c5128b0
2 months ago
develop-beta (base)
and
version 5
latest version
3f3aa79b
12 commits,
2 months ago
version 9
8c507ab5
11 commits,
2 months ago
version 8
92b76668
10 commits,
2 months ago
version 7
d27bc12c
9 commits,
2 months ago
version 6
b7980027
6 commits,
2 months ago
version 5
19537d5a
5 commits,
2 months ago
version 4
6c9c0185
4 commits,
2 months ago
version 3
29012cae
3 commits,
2 months ago
version 2
6884657e
2 commits,
2 months ago
version 1
7c5128b0
1 commit,
2 months ago
Show latest version
1 file
+
0
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
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