backend: use tag name instead of ID

This commit is contained in:
Lucas 2023-02-22 21:10:01 +00:00
parent cb361c21cd
commit ff22b71fa1

View File

@ -163,7 +163,7 @@ get "/random/tag" => sub {
my $data = decode_json($res->{content});
# XXX body content.
redirect "/tag/$data->{id}";
redirect "/tag/$data->{name}";
};
true;