SudoSOS Back-end API / internal/spec/update-pin-request-spec / verifyUpdatePinRequest
Function: verifyUpdatePinRequest() ​
ts
function verifyUpdatePinRequest(updatePinRequest): Promise<Either<Joinable, UpdatePinRequest>>;Logical validation of the updatePinRequest
Parameters ​
| Parameter | Type | Description |
|---|---|---|
updatePinRequest | UpdatePinRequest | Request to validate |
Returns ​
Promise<Either<Joinable, UpdatePinRequest>>