summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-01-22 12:44:19 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-01-22 12:44:19 +0100
commit1c63574245bd309c879c8f2914dfec9d67a48486 (patch)
treebb2778d781c5d5db4a330b2787c12fc50c108cbc /lib/Travelynx/Controller
parente98fc8493fee2135b8ff3a33521969d7d79a2988 (diff)
users: rename "add_user" to "add" and "get_data" to "get"
Diffstat (limited to 'lib/Travelynx/Controller')
-rw-r--r--lib/Travelynx/Controller/Account.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Account.pm b/lib/Travelynx/Controller/Account.pm
index 2d9a1ce..755ac7d 100644
--- a/lib/Travelynx/Controller/Account.pm
+++ b/lib/Travelynx/Controller/Account.pm
@@ -337,7 +337,7 @@ sub register {
my $pw_hash = hash_password($password);
my $db = $self->pg->db;
my $tx = $db->begin;
- my $user_id = $self->users->add_user(
+ my $user_id = $self->users->add(
db => $db,
name => $user,
email => $email,