Fixed table_action example in docs

0.63.x
Simon Willison 2023-01-04 10:25:04 -08:00
rodzic 7402294018
commit 1bff3f1a70
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1346,7 +1346,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 [
{