@muze-nl/simplystore 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/www/index.html +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muze-nl/simplystore",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "main": "src/server.mjs",
5
5
  "type": "module",
6
6
  "scripts": {
package/www/index.html CHANGED
@@ -219,10 +219,10 @@
219
219
  return ''
220
220
  },
221
221
  query: async function(path, query) {
222
- query = await this.app.actions.getQuery('Fixtures')+';'+query
223
222
  try {
224
223
  let data;
225
224
  if (query) {
225
+ query = await this.app.actions.getQuery('Fixtures')+';'+query
226
226
  data = await api.post(path, query)
227
227
  } else {
228
228
  data = await api.get(path)