diff --git a/packages/megalodon/src/misskey.ts b/packages/megalodon/src/misskey.ts index 0248be7a34..e568af1d07 100644 --- a/packages/megalodon/src/misskey.ts +++ b/packages/megalodon/src/misskey.ts @@ -1086,7 +1086,7 @@ export default class Misskey implements MegalodonInterface { let pollParam = { choices: options.poll.options, expiresAt: null, - expiredAfter: parseInt(options.poll.expires_in.toString()) + expiredAfter: options.poll.expires_in * 1000 } if (options.poll.multiple !== undefined) { pollParam = Object.assign(pollParam, {