diff options
author | Volpeon <git@volpeon.ink> | 2021-10-17 18:53:04 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-10-17 18:53:04 +0200 |
commit | cdd3d77d56fd304346c643b8d98b6a1e895fc236 (patch) | |
tree | 949a66c1f4da8b8d807ff0c3584df5ac872799c3 /src/api/mastodon/index.ts | |
parent | Detect if Mastodon token is not set (diff) | |
download | feralbot-cdd3d77d56fd304346c643b8d98b6a1e895fc236.tar.gz feralbot-cdd3d77d56fd304346c643b8d98b6a1e895fc236.tar.bz2 feralbot-cdd3d77d56fd304346c643b8d98b6a1e895fc236.zip |
Support multiple e621 queries, post as unlisted
Diffstat (limited to 'src/api/mastodon/index.ts')
-rw-r--r-- | src/api/mastodon/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/mastodon/index.ts b/src/api/mastodon/index.ts index 2d8636e..d0de0a0 100644 --- a/src/api/mastodon/index.ts +++ b/src/api/mastodon/index.ts | |||
@@ -52,6 +52,7 @@ export async function createStatus( | |||
52 | media_ids: [attachmentId], | 52 | media_ids: [attachmentId], |
53 | sensitive: true, | 53 | sensitive: true, |
54 | spoiler_text: spoilerText, | 54 | spoiler_text: spoilerText, |
55 | visibility: "unlisted", | ||
55 | }, | 56 | }, |
56 | }) | 57 | }) |
57 | .json<Status>(); | 58 | .json<Status>(); |