Skip to content

Commit

Permalink
✏️ Edit README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
daniscript18 committed Jul 4, 2023
1 parent f9ab24f commit 05d24d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ const Options = {
port: 7777,
timeout: 1000
};
Query(Options, function (err, res) {
if(error) return console.error(err);
else return console.log(res);
});
Query(Options)
.catch(console.error)
.then(console.log);
```
## 🎁 Sample output

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "best-samp-query",
"description": "Simplified Query API for SAMP: Efficient and easy retrieval of information from the server 🔥",
"version": "1.1.0",
"version": "1.1.1",
"main": "best-samp-query.js",
"license": "MIT",
"author": "daniscript18",
Expand Down

0 comments on commit 05d24d3

Please sign in to comment.