fix: make slug searching compatible with the old format

This commit is contained in:
DIYgod
2023-06-28 17:20:35 +01:00
parent 4d9eaf98ce
commit 731d6e3544
+1 -1
View File
@@ -320,7 +320,7 @@ export async function getPage<TRender extends boolean = false>(input: {
path: ["attributes"],
array_contains: [{
trait_type: "xlog_slug",
value: "${input.slug}",
value: "${decodeURIComponent(input.slug!)}",
}]
}
},