Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
DIYgod 2023-08-16 17:00:43 +01:00
commit 27b9332d1f
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import { pinyin } from "pinyin-pro"
export const getDefaultSlug = (title: string, id?: string) => {
let generated =
pinyin(title, {
pinyin(String(title), {
toneType: "none",
type: "array",
nonZh: "consecutive",