summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-02-20 17:35:30 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-02-20 17:35:30 +0100
commit209e2918217aef8d900a194309160f7119a205bc (patch)
treef108d9a4f02d217c57f8e9ef1412d34ec86e7b07 /templates
parent0d108e43343b055e1b6a77c78e4f91307f6964c0 (diff)
Move webhook database queries to Users model
Diffstat (limited to 'templates')
-rw-r--r--templates/account.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/account.html.ep b/templates/account.html.ep
index b2877f0..bce4dcb 100644
--- a/templates/account.html.ep
+++ b/templates/account.html.ep
@@ -35,7 +35,7 @@
% }
% my $acc = current_user();
-% my $hook = get_webhook();
+% my $hook = users->get_webhook(uid => $acc->{id});
% my $traewelling = traewelling->get(uid => $acc->{id});
% my $use_history = users->use_history(uid => $acc->{id});
<div class="row">