summaryrefslogtreecommitdiff
path: root/lib/VNWeb/User/Edit.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNWeb/User/Edit.pm')
-rw-r--r--lib/VNWeb/User/Edit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/User/Edit.pm b/lib/VNWeb/User/Edit.pm
index f934466e..e34ef0ba 100644
--- a/lib/VNWeb/User/Edit.pm
+++ b/lib/VNWeb/User/Edit.pm
@@ -78,7 +78,7 @@ TUWF::get qr{/$RE{uid}/edit}, sub {
};
-json_api qr{/u/edit}, $FORM, sub {
+json_api qr{/u/edit\.json}, $FORM, sub {
my $data = shift;
my $username = tuwf->dbVali('SELECT username FROM users WHERE id =', \$data->{id});