Skip to content

Commit 98747a9

Browse files
committed
fix: correct post call
1 parent 87dd93a commit 98747a9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/interactions/commands/handlers/add-bluesky-post-to-feed-slash.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { EmbedBuilder, SlashCommandBuilder } from 'discord.js';
1+
import { SlashCommandBuilder } from 'discord.js';
22
import { CommandType, ICommandHandler } from '../command-handler.interface';
3-
import { addPostToFeed, removePostFromFeed } from '../../../services/firebot-atproto-feed.service';
3+
import { addPostToFeed } from '../../../services/firebot-atproto-feed.service';
44

55
const config = new SlashCommandBuilder()
66
.setName('addtofeed')

src/services/firebot-atproto-feed.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export async function addPostToFeed(
4040
try {
4141
const response = await axios.post(
4242
'https://atprotofeed.firebot.app/post',
43+
{},
4344
{
4445
params: {
4546
postUrl,

0 commit comments

Comments
 (0)