me forgorr
This commit is contained in:
parent
8b0e3161a3
commit
8b08b2e572
1 changed files with 1 additions and 4 deletions
|
@ -43,10 +43,7 @@ const writeScope = [
|
|||
|
||||
export function apiAuthMastodon(router: Router): void {
|
||||
|
||||
router.post('/v1/apps', koaBody({
|
||||
json: false,
|
||||
multipart: true
|
||||
}), async (ctx) => {
|
||||
router.post('/v1/apps', async (ctx) => {
|
||||
const BASE_URL = `${ctx.request.protocol}://${ctx.request.hostname}`;
|
||||
const accessTokens = ctx.request.headers.authorization;
|
||||
const client = getClient(BASE_URL, accessTokens);
|
||||
|
|
Loading…
Reference in a new issue