From fb9518749f4d24b766f90b86b376cfa3613fe598 Mon Sep 17 00:00:00 2001 From: David Martos Date: Wed, 13 Sep 2023 12:50:02 +0200 Subject: [PATCH] fix(client): messageString typo (#425) Minor issue, where SatSubsReq is being logged instead of SatSubsResp --- clients/typescript/src/util/proto.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/typescript/src/util/proto.ts b/clients/typescript/src/util/proto.ts index bf0619bd55..5abf7644f4 100644 --- a/clients/typescript/src/util/proto.ts +++ b/clients/typescript/src/util/proto.ts @@ -363,11 +363,11 @@ export function msgToString(message: SatPbMsg): string { Pb.SatSubsResp_SatSubsError_ShapeReqError_Code[x.code] } (${x.message})` ) - return `#SatSubsReq{id: ${message.subscriptionId}, err: ${ + return `#SatSubsResp{id: ${message.subscriptionId}, err: ${ Pb.SatSubsResp_SatSubsError_Code[message.err.code] } (${message.err.message}), shapes: [${shapeErrors}]}` } else { - return `#SatSubsReq{id: ${message.subscriptionId}}` + return `#SatSubsResp{id: ${message.subscriptionId}}` } } case 'Electric.Satellite.SatUnsubsReq':