Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(npm): update dependencies #91

Merged
merged 2 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
132 changes: 90 additions & 42 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/logger",
"version": "4.14.0",
"version": "4.15.0",
"description": "The Athenna logging solution. Log in stdout, files and buckets.",
"license": "MIT",
"author": "João Lenon <lenon@athenna.io>",
Expand Down Expand Up @@ -65,10 +65,10 @@
"cls-rtracer": "^2.6.3"
},
"devDependencies": {
"@athenna/common": "^4.27.0",
"@athenna/config": "^4.12.0",
"@athenna/ioc": "^4.13.0",
"@athenna/test": "^4.18.0",
"@athenna/common": "^4.32.0",
"@athenna/config": "^4.14.0",
"@athenna/ioc": "^4.14.0",
"@athenna/test": "^4.21.0",
"@athenna/tsconfig": "^4.12.0",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
Expand Down
6 changes: 4 additions & 2 deletions src/drivers/DiscordDriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ export class DiscordDriver extends Driver {
)

return HttpClient.builder(true).post(this.configs.url, {
username: this.configs.username,
content: formatted
body: {
username: this.configs.username,
content: formatted
}
})
}
}
6 changes: 5 additions & 1 deletion src/drivers/SlackDriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ export class SlackDriver extends Driver {
this.configs.url
)

return HttpClient.builder(true).post(this.configs.url, { text: formatted })
return HttpClient.builder(true).post(this.configs.url, {
body: {
text: formatted
}
})
}
}
Loading