Skip to content

Commit

Permalink
encode_base64
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Sep 13, 2023
1 parent c2c8c24 commit 7d10bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/plugins/grpc-web/deco.lua
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function deco:frame(ftype, msg)
local f = grpc_frame(ftype, msg)

if self.text_encoding == "base64" then
f = ngx.encode_base64(f)
f = encode_base64(f)
end

return f
Expand Down

0 comments on commit 7d10bce

Please sign in to comment.