We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e91fa82 commit 3946c8bCopy full SHA for 3946c8b
1 file changed
Binding_Next_JS_Server/next_js_server/app/api/health_care/route.ts
@@ -158,7 +158,7 @@ export async function PUT(request: NextRequest) {
158
}
159
doctorDetails[doctorIndex] = {
160
...doctorDetails[doctorIndex],
161
- Name: body.name || doctorDetails[doctorIndex].Name,
+ Name: body.Name || doctorDetails[doctorIndex].Name,
162
Specialty: body.Specialty || doctorDetails[doctorIndex].Specialty,
163
Experience: body.Experience || doctorDetails[doctorIndex].Experience,
164
Availability: body.Availability || doctorDetails[doctorIndex].Availability,
0 commit comments