From e40529cfa3ff220f3b897626711133a52a2ffcc8 Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Fri, 11 Aug 2023 04:38:05 +0530 Subject: [PATCH] fix(llc): fix generated code. Signed-off-by: Sahil Kumar --- .../lib/protobuf/video/sfu/signal_rpc/signal.pbtwirp.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/stream_video/lib/protobuf/video/sfu/signal_rpc/signal.pbtwirp.dart b/packages/stream_video/lib/protobuf/video/sfu/signal_rpc/signal.pbtwirp.dart index 429a38e85..3c0d4f715 100644 --- a/packages/stream_video/lib/protobuf/video/sfu/signal_rpc/signal.pbtwirp.dart +++ b/packages/stream_video/lib/protobuf/video/sfu/signal_rpc/signal.pbtwirp.dart @@ -336,7 +336,7 @@ Future> doProtobufRequest(twirp.Context ctx, Uri url, req.bodyBytes = msgReq.writeToBuffer(); // call onRequestPrepared hook for user to modify request - ctx = hooks.onRequestPrepared(ctx, req); + ctx = await hooks.onRequestPrepared(ctx, req); // send data final res = await httpClient.send(req); @@ -380,7 +380,7 @@ Future doJSONRequest(twirp.Context ctx, Uri url, req.body = json.encode(msgReq.toProto3Json()); // call onRequestPrepared hook for user to modify request - ctx = hooks.onRequestPrepared(ctx, req); + ctx = await hooks.onRequestPrepared(ctx, req); // send data final res = await httpClient.send(req);