docs: Fix compare example

This commit is contained in:
FoxxMD 2024-07-25 17:47:57 -04:00
parent 5c460ad747
commit 2bed7be654

View file

@ -159,8 +159,8 @@ The `compare` [hook](#hook) is slightly different than `preCompare` and `postCom
"options": {
"playTransform": {
"compare": {
"candidate": [/* ... */], // modify the "new" Play being compared
"existing": [/* ... */], // modify all "existing" Play/Scrobbles the new Play is being compared against
"candidate": {/* ... */}, // modify the "new" Play being compared
"existing": {/* ... */}, // modify all "existing" Play/Scrobbles the new Play is being compared against
},
}
}
@ -203,9 +203,7 @@ Removes the phrase `(Album Version)` from the Title of a Play/Scrobble
"playTransform": {
"preCompare": {
"title": [
[
"(Album Version)"
]
]
},
}