diff --git a/src/controllers/branch/branch-controller.ts b/src/controllers/branch/branch-controller.ts index 1e12a87..a255e56 100644 --- a/src/controllers/branch/branch-controller.ts +++ b/src/controllers/branch/branch-controller.ts @@ -4,7 +4,7 @@ import { Controller, Delete, Get, - Patch, + Put, Path, Post, Query, @@ -171,7 +171,7 @@ export class BranchController extends Controller { return record; } - @Patch("{branchId}") + @Put("{branchId}") async editBranch( @Request() req: RequestWithUser, @Body() body: BranchUpdate, diff --git a/src/controllers/branch/contact-controller.ts b/src/controllers/branch/contact-controller.ts index 57dc329..9607afb 100644 --- a/src/controllers/branch/contact-controller.ts +++ b/src/controllers/branch/contact-controller.ts @@ -3,7 +3,7 @@ import { Controller, Delete, Get, - Patch, + Put, Path, Post, Query, @@ -112,7 +112,7 @@ export class BranchContactController extends Controller { }); } - @Patch("{contactId}") + @Put("{contactId}") async editBranchContact( @Request() req: RequestWithUser, @Body() body: BranchContactUpdate,