aboutsummaryrefslogtreecommitdiff
path: root/api/user
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-02-22 13:43:33 +0100
committerlonkaars <l.leblansch@gmail.com>2021-02-22 13:43:33 +0100
commitc02dc3a493cf66f5c4a6ccd2a1155c3f8c2e37ef (patch)
tree5e408e28cdf81e67bc1f2894d6df403d8b20671e /api/user
parent32aaaf92f2c06214abdc93e3cede07e067df6b88 (diff)
added dynamic api routing
Diffstat (limited to 'api/user')
-rw-r--r--api/user/info.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/user/info.py b/api/user/info.py
index 1339d8a..afb0720 100644
--- a/api/user/info.py
+++ b/api/user/info.py
@@ -35,3 +35,5 @@ def index():
"registered": user[4],
"avatar": user[5],
}
+
+dynamic_route = ["/user", info]