aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/optional/data.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/optional/data.js')
-rw-r--r--src/modules/optional/data.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/optional/data.js b/src/modules/optional/data.js
index 9655048..a9d7ac7 100644
--- a/src/modules/optional/data.js
+++ b/src/modules/optional/data.js
@@ -36,8 +36,8 @@ export function data(a, v, r) {
v === null
? null
: r === true || typeof v === 'string' || typeof v === 'number'
- ? v
- : JSON.stringify(v)
+ ? v
+ : JSON.stringify(v)
)
}