Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: slugify function

Inian65ad033e52dc
diff --git a/apps/docs/generator/helpers.ts b/apps/docs/generator/helpers.ts
index 6bb5653e808..e7796c9101f 100644
--- a/apps/docs/generator/helpers.ts
+++ b/apps/docs/generator/helpers.ts
@@ -2,6 +2,7 @@ import * as _ from 'lodash'
import * as fs from 'fs'
export const slugify = (text: string) => {
+ if (!text) return ''
return text
.toString()
.toLowerCase()