Skip to content

Commit

Permalink
resolved : PUT is not a valid Route export field.
Browse files Browse the repository at this point in the history
  • Loading branch information
ad956 committed Jul 7, 2024
1 parent 8152788 commit 8d7ce08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/patient/update-profile/address/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type AddressBody = {
country?: string;
};

export default async function PUT(req: Request) {
export async function PUT(req: Request) {
const email = "[email protected]";

const addressData: AddressBody = await req.json();
Expand Down

0 comments on commit 8d7ce08

Please sign in to comment.