Commit ae78997
committed
Fix CLI encoding of JSON objects
When setting a JSON object string at the CLI, it is considered a string
and passed to the API as a string, even though it's expected as an
object. This change ensures that JSON object strings are decoded into
PHP arrays so that they are properly encoded when sent to the Appwrite
API.1 parent 6f14fd2 commit ae78997
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments