Skip to content

Commit

Permalink
fix: clear query when build query
Browse files Browse the repository at this point in the history
  • Loading branch information
IcaroSilvaFK committed Jul 25, 2024
1 parent 17126be commit 529d1b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/kind-oranges-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@icarowhyy/pnpjs-query": minor
---

remove all values on build query
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@icarowhyy/pnpjs-query",
"version": "1.0.3",
"version": "1.1.3",
"description": "OData query for JavaScript",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ export class Query {
build(): string {
const generatedQuery = this.query.join(" ");

this.query = []
return generatedQuery;
}


}

0 comments on commit 529d1b3

Please sign in to comment.