Skip to content

SudoSOS Back-end API / service/websocket/event-guards / ForUserGuard

Variable: ForUserGuard ​

ts
const ForUserGuard: EventGuard<{
  from?: {
     id?: number;
  };
}>;

ForUser guard checks if transaction belongs to the user in the room.