Skip to content

Commit

Permalink
tiny tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
hrissan committed Aug 22, 2024
1 parent b0a985a commit 1898fe9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/tlcodegen/qt_namespace.qtpl
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ func (c *Client) {%s= typeString %}(ctx context.Context, args {%s= typeString %}
if extra != nil {
req.Extra = *extra
}
if _, ok := ctx.Deadline(); !ok {
rpc.UpdateExtraTimeout(&req.Extra, c.Timeout)
}
if _, ok := ctx.Deadline(); !ok {
rpc.UpdateExtraTimeout(&req.Extra, c.Timeout)
}
req.Body, err = args.WriteBoxedGeneral(req.Body)
if err != nil {
return internal.ErrorClientWrite("{%s= tlName %}", err)
Expand Down

0 comments on commit 1898fe9

Please sign in to comment.