Skip to content

Commit 71193c6

Browse files
committed
remove uneccesary "\"
1 parent 65cc8d0 commit 71193c6

File tree

6 files changed

+34
-34
lines changed

6 files changed

+34
-34
lines changed

shared/common/channel-management-api/endpoints/ban-user-privileges/delete-rules.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@ const options = {
5353
headers: {
5454
Authorization: '',
5555
Accept: 'application/json'
56-
\}
57-
\};\n
56+
}
57+
};\n
5858
const req = http.request(options, function (res) {
5959
const chunks = [];\n
6060
res.on('data', function (chunk) {
6161
chunks.push(chunk);
62-
\});\n
62+
});\n
6363
res.on('end', function () {
6464
const body = Buffer.concat(chunks);
6565
console.log(body.toString());
6666
});
67-
\});\n
67+
});\n
6868
req.end();`}</CodeBlock>
6969
</TabItem>
7070

@@ -74,7 +74,7 @@ conn = http.client.HTTPConnection("api.sd-rtn.com")\n
7474
headers = {
7575
'Authorization': "",
7676
'Accept': "application/json"
77-
\}\n
77+
}\n
7878
conn.request("DELETE", "/dev/v1/kicking-rule", headers=headers)\n
7979
res = conn.getresponse()
8080
data = res.read()\n

shared/common/channel-management-api/endpoints/ban-user-privileges/get-rule-list.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,18 @@ Test this request in [Postman](https://documenter.getpostman.com/view/6319646/SV
5555
headers: {
5656
Authorization: '',
5757
Accept: 'application/json'
58-
\}
59-
\};\n
58+
}
59+
};\n
6060
const req = http.request(options, function (res) {
6161
const chunks = [];\n
6262
res.on('data', function (chunk) {
6363
chunks.push(chunk);
64-
\});\n
64+
});\n
6565
res.on('end', function () {
6666
const body = Buffer.concat(chunks);
6767
console.log(body.toString());
68-
\});
69-
\});\n
68+
});
69+
});\n
7070
req.end();`}</CodeBlock>
7171
</TabItem>
7272

@@ -76,7 +76,7 @@ conn = http.client.HTTPConnection("api.sd-rtn.com")\n
7676
headers = {
7777
'Authorization': "",
7878
'Accept': "application/json"
79-
\}\n
79+
}\n
8080
conn.request("GET", "/dev/v1/kicking-rule", headers=headers)\n
8181
res = conn.getresponse()
8282
data = res.read()

shared/common/channel-management-api/endpoints/ban-user-privileges/update-expiration-time.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,18 @@ const options = {
6363
Authorization: '',
6464
'Content-Type': 'application/json',
6565
Accept: 'application/json'
66-
\}
67-
\};\n
66+
}
67+
};\n
6868
const req = http.request(options, function (res) {
6969
const chunks = [];\n
7070
res.on('data', function (chunk) {
7171
chunks.push(chunk);
72-
\});\n
72+
});\n
7373
res.on('end', function () {
7474
const body = Buffer.concat(chunks);
7575
console.log(body.toString());
76-
\});
77-
\});\n
76+
});
77+
});\n
7878
req.write(JSON.stringify({appid: '4855xxxxxxxxxxxxxxxxxxxxxxxxeae2', id: 1953, time: 60}));
7979
req.end();`}</CodeBlock>
8080
</TabItem>
@@ -87,7 +87,7 @@ headers = {
8787
'Authorization': "",
8888
'Content-Type': "application/json",
8989
'Accept': "application/json"
90-
\}\n
90+
}\n
9191
conn.request("PUT", "/dev/v1/kicking-rule", payload, headers)\n
9292
res = conn.getresponse()
9393
data = res.read()\n

shared/common/channel-management-api/endpoints/query-channel-information/query-channel-list.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ const options = {
5858
headers: {
5959
Authorization: '',
6060
Accept: 'application/json'
61-
\}
62-
\};\n
61+
}
62+
};\n
6363
const req = http.request(options, function (res) {
6464
const chunks = [];\n
6565
res.on('data', function (chunk) {
@@ -68,8 +68,8 @@ const req = http.request(options, function (res) {
6868
res.on('end', function () {
6969
const body = Buffer.concat(chunks);
7070
console.log(body.toString());
71-
\});
72-
\});\n
71+
});
72+
});\n
7373
req.end();`}</CodeBlock>
7474
</TabItem>
7575

@@ -79,7 +79,7 @@ conn = http.client.HTTPConnection("api.sd-rtn.com")\n
7979
headers = {
8080
'Authorization': "",
8181
'Accept': "application/json"
82-
\}\n
82+
}\n
8383
conn.request("GET", "/dev/v1/channel/appid", headers=headers)\n
8484
res = conn.getresponse()
8585
data = res.read()\n

shared/common/channel-management-api/endpoints/query-channel-information/query-host-list.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,18 @@ const\ options = {
4949
headers: {
5050
Accept: 'application/json',
5151
Authorization: 'Basic 123'
52-
\}
53-
\};\n
52+
}
53+
};\n
5454
const req = http.request(options, function (res) {
5555
const chunks = [];\n
5656
res.on('data', function (chunk) {
5757
chunks.push(chunk);
58-
\});\n
58+
});\n
5959
res.on('end', function () {
6060
const body = Buffer.concat(chunks);
6161
console.log(body.toString());
62-
\});
63-
\});\n
62+
});
63+
});\n
6464
req.end();`}</CodeBlock>
6565
</TabItem>
6666

@@ -70,7 +70,7 @@ conn =\ http.client.HTTPSConnection("api.sd-rtn.com")\n
7070
headers = {
7171
'Accept': "application/json",
7272
'Authorization': "Basic 123"
73-
\}\n
73+
}\n
7474
conn.request("GET", "/dev/v1/channel/user/appid/channelName/hosts_only", headers=headers)\n
7575
res = conn.getresponse()
7676
data = res.read()\n

shared/common/channel-management-api/endpoints/query-channel-information/query-user-list.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,18 @@ const options = {
5454
headers: {
5555
Authorization: '',
5656
Accept: 'application/json'
57-
\}
58-
\};\n
57+
}
58+
};\n
5959
const req = http.request(options, function (res) {
6060
const chunks = [];\n
6161
res.on('data', function (chunk) {
6262
chunks.push(chunk);
63-
\});\n
63+
});\n
6464
res.on('end', function () {
6565
const body = Buffer.concat(chunks);
6666
console.log(body.toString());
67-
\});
68-
\});\n
67+
});
68+
});\n
6969
req.end();`}</CodeBlock>
7070
</TabItem>
7171

@@ -75,7 +75,7 @@ conn = http.client.HTTPConnection("api.sd-rtn.com")\n
7575
headers = {
7676
'Authorization': "",
7777
'Accept': "application/json"
78-
\}\n
78+
}\n
7979
conn.request("GET", "/dev/v1/channel/user/appid/channelName/hosts_only", headers=headers)\n
8080
res = conn.getresponse()
8181
data = res.read()\n

0 commit comments

Comments
 (0)