diff options
author | Derf Null <derf@finalrewind.org> | 2023-05-24 21:36:06 +0200 |
---|---|---|
committer | Derf Null <derf@finalrewind.org> | 2023-05-24 21:36:06 +0200 |
commit | ac816c09b23233c9e3de0f1b12cc905a921ca85a (patch) | |
tree | 4295ea2e8a148e07af3db5f79894acfb106c66b0 /lib/Travelynx/Controller/Account.pm | |
parent | 68468379e5f60e257f7276d08251d93db4af6ea2 (diff) |
rename get_privacy_by_name to get_privacy_by, allow requests by uid
Diffstat (limited to 'lib/Travelynx/Controller/Account.pm')
-rw-r--r-- | lib/Travelynx/Controller/Account.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Account.pm b/lib/Travelynx/Controller/Account.pm index a799ba1..1fa762a 100644 --- a/lib/Travelynx/Controller/Account.pm +++ b/lib/Travelynx/Controller/Account.pm @@ -994,7 +994,7 @@ sub webfinger { } my $name = $+{name}; - my $user = $self->users->get_privacy_by_name( name => $name ); + my $user = $self->users->get_privacy_by( name => $name ); if ( not $user ) { $self->render( 'not_found', status => 404 ); |