summaryrefslogtreecommitdiff
path: root/lib/VNWeb/User/Register.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNWeb/User/Register.pm')
-rw-r--r--lib/VNWeb/User/Register.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/User/Register.pm b/lib/VNWeb/User/Register.pm
index 5135531b..05a1d433 100644
--- a/lib/VNWeb/User/Register.pm
+++ b/lib/VNWeb/User/Register.pm
@@ -11,7 +11,7 @@ TUWF::get '/u/register', sub {
};
-json_api '/u/register', {
+json_api qr{/u/register\.json}, {
username => { username => 1 },
email => { email => 1 },
vns => { int => 1 },