Skip to content

Commit 6c81917

Browse files
committed
add destory to readme
1 parent c48d152 commit 6c81917

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ async function run() {
6464
//To get the text from a JSON request, use innerText instead of response
6565
console.log(jsonPost.solution.innerText)
6666

67+
await initialize.destroySession(session)
68+
6769
}
6870

6971
run().then((data) => console.log(data)).catch((err) => console.error(err))

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "scrappey-wrapper",
3-
"version": "1.0.1",
3+
"version": "1.0.7",
44
"description": "",
55
"main": "main.js",
66
"scripts": {

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ async function run() {
109109
//To get the text from a JSON request, use innerText instead of response
110110
console.log(jsonPost.solution.innerText)
111111

112+
await initialize.destroySession(session)
113+
112114
}
113115

114116
run().then((data) => console.log(data)).catch((err) => console.error(err))

0 commit comments

Comments
 (0)