mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update api routes, add post method support to /api/v1/accounts/update_credentials to properly handle binary form data (avatars)
This commit is contained in:
parent
558700fc0a
commit
1ae19ea571
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ Route::group(['prefix' => 'api'], function() use($middleware) {
|
|||
Route::get('bookmarks', 'Api\ApiV1Controller@bookmarks')->middleware($middleware);
|
||||
|
||||
Route::get('accounts/verify_credentials', 'Api\ApiV1Controller@verifyCredentials')->middleware($middleware);
|
||||
Route::patch('accounts/update_credentials', 'Api\ApiV1Controller@accountUpdateCredentials')->middleware($middleware);
|
||||
Route::match(['post', 'patch'], 'accounts/update_credentials', 'Api\ApiV1Controller@accountUpdateCredentials')->middleware($middleware);
|
||||
Route::get('accounts/relationships', 'Api\ApiV1Controller@accountRelationshipsById')->middleware($middleware);
|
||||
Route::get('accounts/search', 'Api\ApiV1Controller@accountSearch')->middleware($middleware);
|
||||
Route::get('accounts/{id}/statuses', 'Api\ApiV1Controller@accountStatusesById')->middleware($middleware);
|
||||
|
|
Loading…
Reference in a new issue