Skip to content

Commit

Permalink
docs(pdk): fix documentation of kong.plugin.get_id (#12131)
Browse files Browse the repository at this point in the history
  • Loading branch information
elhackeado authored Dec 20, 2023
1 parent ffea959 commit 0a1dbd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/pdk/plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ local _plugin = {}
-- @treturn string The ID of the running plugin
-- @usage
--
-- kong.request.get_id() -- "123e4567-e89b-12d3-a456-426614174000"
-- kong.plugin.get_id() -- "123e4567-e89b-12d3-a456-426614174000"
function _plugin.get_id(self)
return ngx.ctx.plugin_id
end
Expand Down

0 comments on commit 0a1dbd8

Please sign in to comment.