upd: register contentParser
This commit is contained in:
parent
67dceab22e
commit
5af274ef0a
1 changed files with 2 additions and 0 deletions
|
@ -78,6 +78,8 @@ export class OAuth2ProviderService {
|
|||
payload.on('error', done);
|
||||
});
|
||||
|
||||
fastify.register(multer.contentParser);
|
||||
|
||||
fastify.get('/oauth/authorize', async (request, reply) => {
|
||||
const query: any = request.query;
|
||||
let param = "mastodon=true";
|
||||
|
|
Loading…
Reference in a new issue