Skip to content

SudoSOS Back-end API / helpers / parseRawUserToResponse

Function: parseRawUserToResponse() ​

ts
function parseRawUserToResponse(user, timestamps?): UserResponse;

Parses a raw User Entity to a UserResponse

Parameters ​

ParameterTypeDefault valueDescription
userRawUserundefined-
timestampsbooleanfalse-

Returns ​

UserResponse