Skip to content

Commit 6d0fc0a

Browse files
authored
fix invalid charset (#1271)
1 parent 84d5b3b commit 6d0fc0a

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

clearsale/mod.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ export default function App(props: Props): App<Manifest, State> {
5656
});
5757

5858
const getToken = async () => {
59-
console.log("getToken", { stringUsername, stringPassword });
6059
const response = await api["POST /v1/authentication"]({}, {
6160
body: {
6261
Username: stringUsername,

slack/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export class SlackClient {
116116
) {
117117
this.botHeaders = {
118118
Authorization: `Bearer ${botToken}`,
119-
"Content-Type": "application/json",
119+
"Content-Type": "application/json; charset=utf-8",
120120
};
121121
this.oauthClient = oauthClient;
122122
}

0 commit comments

Comments
 (0)