mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-24 23:15:13 +00:00
fix: expiredafter time on poll
This commit is contained in:
parent
96580967fb
commit
1d3fd4c604
1 changed files with 1 additions and 1 deletions
|
@ -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, {
|
||||
|
|
Loading…
Reference in a new issue