From 8631740ca44b0e03d67ac2dd3c21ecf9ca9dcaa4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 21 Jan 2023 17:01:02 +0900 Subject: [PATCH] =?UTF-8?q?fix(server):=20twitter=E3=81=A8=E9=80=A3?= =?UTF-8?q?=E6=90=BA=E3=81=99=E3=82=8B=E3=81=A8=E3=81=8D=E3=81=AB=20autwh?= =?UTF-8?q?=20is=20not=20a=20function=20=E3=81=AB=E3=81=AA=E3=82=8B?= =?UTF-8?q?=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #9658 --- CHANGELOG.md | 1 + .../backend/src/server/api/integration/TwitterServerService.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26632b839..85246595c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ You should also include the user name that made the change. ### Bugfixes - playを削除する手段がなかったのを修正 - The … button on notes does nothing when not logged in +- twitterと連携するときに autwh is not a function になるのを修正 ## 13.0.0 (2023/01/16) diff --git a/packages/backend/src/server/api/integration/TwitterServerService.ts b/packages/backend/src/server/api/integration/TwitterServerService.ts index 9cfadbfa1..f31a788d3 100644 --- a/packages/backend/src/server/api/integration/TwitterServerService.ts +++ b/packages/backend/src/server/api/integration/TwitterServerService.ts @@ -2,7 +2,7 @@ import { Inject, Injectable } from '@nestjs/common'; import Redis from 'ioredis'; import { v4 as uuid } from 'uuid'; import { IsNull } from 'typeorm'; -import autwh from 'autwh'; +import * as autwh from 'autwh'; import type { Config } from '@/config.js'; import type { UserProfilesRepository, UsersRepository } from '@/models/index.js'; import { DI } from '@/di-symbols.js';