Skip to content

Commit

Permalink
make it actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
artifishvr committed May 19, 2024
1 parent a020cf0 commit df601e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ services:
- wastebindata:/data
ports:
- "8088:8088"
user: "0:0"

volumes:
dragonflydata:
Expand Down
6 changes: 3 additions & 3 deletions src/commands/forget.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ export default {
if (length === 0) return await interaction.editReply({ content: toSay });

try {
const request = fetch(
const request = await fetch(
`${process.env.WASTEBIN_HOST}/`,
{
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"text": log,
"extension": "md",
text: log.toString("utf-8"),
extension: "md",
}),
},
)
Expand Down

0 comments on commit df601e9

Please sign in to comment.