Change addNote auto fields parameter to array

The "fields" parameter should be array instead of a string.
This commit is contained in:
Anže Bertoncelj 2018-07-03 15:50:50 +02:00 committed by GitHub
parent e4a9286989
commit 847c2b252a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -706,7 +706,9 @@ guarantee that your application continues to function properly in the future.
"url": "https://assets.languagepod101.com/dictionary/japanese/audiomp3.php?kanji=猫&kana=ねこ", "url": "https://assets.languagepod101.com/dictionary/japanese/audiomp3.php?kanji=猫&kana=ねこ",
"filename": "yomichan_ねこ_猫.mp3", "filename": "yomichan_ねこ_猫.mp3",
"skipHash": "7e2c2f954ef6051373ba916f000168dc", "skipHash": "7e2c2f954ef6051373ba916f000168dc",
"fields": "Front" "fields": [
"Front"
]
} }
} }
} }
@ -748,7 +750,9 @@ guarantee that your application continues to function properly in the future.
"url": "https://assets.languagepod101.com/dictionary/japanese/audiomp3.php?kanji=猫&kana=ねこ", "url": "https://assets.languagepod101.com/dictionary/japanese/audiomp3.php?kanji=猫&kana=ねこ",
"filename": "yomichan_ねこ_猫.mp3", "filename": "yomichan_ねこ_猫.mp3",
"skipHash": "7e2c2f954ef6051373ba916f000168dc", "skipHash": "7e2c2f954ef6051373ba916f000168dc",
"fields": "Front" "fields": [
"Front"
]
} }
} }
] ]