forked from apoloz/alfa-bank-sdk
fix(requisites): use PATCH for UpdateRequisiteRequest
Alfa BaaS documents PATCH on /beneficiaries/{id}/requisites/{id}; PUT returns 404.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -23,7 +23,7 @@ class UpdateRequisiteRequest extends Request implements HasBody
|
||||
{
|
||||
use HasJsonBody;
|
||||
|
||||
protected Method $method = Method::PUT;
|
||||
protected Method $method = Method::PATCH;
|
||||
|
||||
public function __construct(
|
||||
protected string $beneficiaryId,
|
||||
|
||||
Reference in New Issue
Block a user