Refactored Command to add owner
This commit is contained in:
@@ -13,7 +13,10 @@ def change_text():
|
||||
return "New text"
|
||||
|
||||
|
||||
command = Command("change_text", "change the text", change_text).htmx(target="#text")
|
||||
command = Command("change_text",
|
||||
"change the text",
|
||||
None,
|
||||
change_text).htmx(target="#text")
|
||||
|
||||
|
||||
@rt("/")
|
||||
|
||||
Reference in New Issue
Block a user