diff --git a/docs/plugin_hooks.rst b/docs/plugin_hooks.rst index cdc73f00..0cb478be 100644 --- a/docs/plugin_hooks.rst +++ b/docs/plugin_hooks.rst @@ -1393,7 +1393,7 @@ This example adds a new table action if the signed in user is ``"root"``: @hookimpl - def table_actions(datasette, actor): + def table_actions(datasette, actor, database, table): if actor and actor.get("id") == "root": return [ {