debug: add logging to get_categories + better error details in CalendarPluginPage
This commit is contained in:
@@ -80,6 +80,7 @@ end
|
||||
|
||||
-- Get all non-deleted categories
|
||||
function M.get_categories()
|
||||
print("get_categories called")
|
||||
return verstak.db.query(
|
||||
"SELECT id, name, color, icon, sort_order FROM categories WHERE deleted = 0 ORDER BY sort_order"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user