From 3e2491a9bc6579ccf017f0dbc2573b5ab4c75613 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 21 Jan 2023 08:36:25 +0100 Subject: API documentation: do not perform database requests from template helpers --- templates/account.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/account.html.ep') diff --git a/templates/account.html.ep b/templates/account.html.ep index 418291c..9c5d88e 100644 --- a/templates/account.html.ep +++ b/templates/account.html.ep @@ -177,7 +177,7 @@ -% my $token = get_api_token(); +% my $token = stash('api_token') // {};

API

-- cgit v1.2.3