Skip to content

Commit 3946c8b

Browse files
1006724-Nextjs-Sample-update
1 parent e91fa82 commit 3946c8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Binding_Next_JS_Server/next_js_server/app/api/health_care

Binding_Next_JS_Server/next_js_server/app/api/health_care/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export async function PUT(request: NextRequest) {
158158
}
159159
doctorDetails[doctorIndex] = {
160160
...doctorDetails[doctorIndex],
161-
Name: body.name || doctorDetails[doctorIndex].Name,
161+
Name: body.Name || doctorDetails[doctorIndex].Name,
162162
Specialty: body.Specialty || doctorDetails[doctorIndex].Specialty,
163163
Experience: body.Experience || doctorDetails[doctorIndex].Experience,
164164
Availability: body.Availability || doctorDetails[doctorIndex].Availability,

0 commit comments

Comments
 (0)