mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-23 23:52:27 -04:00
Fix sqlarr of api (#1188)
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ export function sqlarr(array: unknown[]): string {
|
||||
? sqlarr(item)
|
||||
: typeof item === "object"
|
||||
? `"${JSON.stringify(item).replaceAll("\\", "\\\\").replaceAll('"', '\\"')}"`
|
||||
: `"${item}"`,
|
||||
: `"${item?.toString().replaceAll('"', '\\"')}"`,
|
||||
)
|
||||
.join(", ")}}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user