The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix author issue
Jonathan Summers-Muirfa5c0ab57e5f
diff --git a/apps/www/_blog/2022-08-09-slack-consolidate-slackbot-to-consolidate-messages.mdx b/apps/www/_blog/2022-08-09-slack-consolidate-slackbot-to-consolidate-messages.mdxindex 37d4ba481da..f02c698078d 100644--- a/apps/www/_blog/2022-08-09-slack-consolidate-slackbot-to-consolidate-messages.mdx+++ b/apps/www/_blog/2022-08-09-slack-consolidate-slackbot-to-consolidate-messages.mdx@@ -1,6 +1,6 @@---title: 'Slack Consolidate: a slackbot built with Python and Supabase'-description: Different approaches for tracking visitor counts with PostgreSQL.+description: Different approaches for tracking visitor counts with PostgreSQLauthor: rodrigo_mansueliimage: /images/blog/2022-august/slackbot.jpgthumb: /images/blog/2022-august/slackbot.jpg@@ -9,8 +9,6 @@ tags:- python- api- automation-author_image_url: https://github.com/mansueli.png-authorURL: https://github.com/mansuelidate: '2022-08-09'toc_depth: 3---diff --git a/apps/www/lib/posts.tsx b/apps/www/lib/posts.tsxindex 7d21e4c66ee..199551e06e2 100644--- a/apps/www/lib/posts.tsx+++ b/apps/www/lib/posts.tsx@@ -136,14 +136,13 @@ export const getPostdata = async (slug: string, directory: string) => {export const getAllCategories = (directory: Directories) => {const posts = getSortedPosts(directory)let categories: any = []- if (posts){+posts.map((post: any) => {// add tags into categories arraypost.tags.map((tag: string) => {if (!categories.includes(tag)) return categories.push(tag)})})-}return categories}