Skip to content

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 ​

ParameterTypeDescription
updatePinRequestUpdatePinRequestRequest to validate

Returns ​

Promise<Either<Joinable, UpdatePinRequest>>