Function: parseRollbackRequest()
parseRollbackRequest(
body): {hash:string;route:string; } |undefined
Defined in: parseRollbackRequest.ts:2
Checks an untrusted rollback body for a non-empty route and artifact hash.
Parameters
body
unknown
Returns
{ hash: string; route: string; } | undefined