open stratum base message to accept number or string

This commit is contained in:
Benjamin Wilson
2024-07-05 08:19:54 -04:00
parent 3e4cb4ff5d
commit b858a594b8
2 changed files with 2 additions and 3 deletions
@@ -5,7 +5,7 @@ import { eStratumErrorCode } from '../enums/eStratumErrorCode';
export class StratumErrorMessage {
constructor(
private id: number = null,
private id: number | string = null,
private errorCode: eStratumErrorCode,
private errorMessage: string,
private validationErrors: ValidationError[] = []