diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-08-30 13:27:21 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-09-09 13:37:51 +0200 |
commit | f98ae2b5b0567f28a875106724c0475d6395f3c5 (patch) | |
tree | bc21874832e15741f4c5a9545138b3044f7c340b /core/routes.php | |
parent | 76f42e121b7aee17508feeb8e86ded55b9b78736 (diff) | |
download | nextcloud-server-f98ae2b5b0567f28a875106724c0475d6395f3c5.tar.gz nextcloud-server-f98ae2b5b0567f28a875106724c0475d6395f3c5.zip |
Avatar new style
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php index b75cb0f6b3b..ee5fbb34a4c 100644 --- a/core/routes.php +++ b/core/routes.php @@ -45,6 +45,7 @@ $application->registerRoutes($this, [ ['name' => 'lost#setPassword', 'url' => '/lostpassword/set/{token}/{userId}', 'verb' => 'POST'], ['name' => 'ProfilePage#index', 'url' => '/u/{targetUserId}', 'verb' => 'GET'], ['name' => 'user#getDisplayNames', 'url' => '/displaynames', 'verb' => 'POST'], + ['name' => 'avatar#getAvatarDark', 'url' => '/avatar/{userId}/{size}/dark', 'verb' => 'GET'], ['name' => 'avatar#getAvatar', 'url' => '/avatar/{userId}/{size}', 'verb' => 'GET'], ['name' => 'avatar#deleteAvatar', 'url' => '/avatar/', 'verb' => 'DELETE'], ['name' => 'avatar#postCroppedAvatar', 'url' => '/avatar/cropped', 'verb' => 'POST'], |