diff --git a/src/app.ts b/src/app.ts index 2e3fc700..a9d35856 100644 --- a/src/app.ts +++ b/src/app.ts @@ -104,7 +104,7 @@ app.post('/oauth/revoke', emptyObjectController); app.post('/oauth/authorize', oauthAuthorizeController); app.get('/oauth/authorize', oauthController); -app.post('/api/v1/acccounts', requireProof({ pow: Conf.pow.registrations }), createAccountController); +app.post('/api/v1/accounts', requireProof({ pow: Conf.pow.registrations }), createAccountController); app.get('/api/v1/accounts/verify_credentials', requirePubkey, verifyCredentialsController); app.patch('/api/v1/accounts/update_credentials', requirePubkey, updateCredentialsController); app.get('/api/v1/accounts/search', accountSearchController);