Skip to content

Commit 13bd480

Browse files
committed
fix
1 parent a355288 commit 13bd480

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ All notable changes to this project will be documented in this file.
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10-
## [v2.1.2] - 2023-10-07
10+
## [v2.1.3] - 2023-10-07
1111

1212
### Fixed
1313

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@scriptpilot/vueuse",
3-
"version": "2.1.2",
3+
"version": "2.1.3",
44
"main": "source/frontend/composables/index.js",
55
"dependencies": {
66
"uuid": "^9.0.0",

source/frontend/composables/MySQLApi.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { v4 as uuid } from 'uuid'
22

33
export function useMySQLAPI (options) {
44

5-
options = options || {}
6-
const apiUrl = options.apiUrl || import.meta.env.DEV ? 'http://localhost:8000/api.php' : '/api.php'
5+
options = options || {}
6+
const apiUrl = options.apiUrl || (import.meta.env.DEV ? 'http://localhost:8000/api.php' : '/api.php')
77

88
function apiRequest ({ path, method = 'GET', data = undefined }) {
99
return new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)