mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-18 22:14:23 +01:00
Return an error for POST /api/v1/accounts
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
accountLookupController,
|
||||
accountSearchController,
|
||||
accountStatusesController,
|
||||
createAccountController,
|
||||
relationshipsController,
|
||||
updateCredentialsController,
|
||||
verifyCredentialsController,
|
||||
@@ -61,6 +62,7 @@ app.post('/oauth/revoke', emptyObjectController);
|
||||
app.post('/oauth/authorize', oauthAuthorizeController);
|
||||
app.get('/oauth/authorize', oauthController);
|
||||
|
||||
app.post('/api/v1/acccounts', createAccountController);
|
||||
app.get('/api/v1/accounts/verify_credentials', requireAuth, verifyCredentialsController);
|
||||
app.patch('/api/v1/accounts/update_credentials', requireAuth, updateCredentialsController);
|
||||
app.get('/api/v1/accounts/search', accountSearchController);
|
||||
|
||||
Reference in New Issue
Block a user