feat: tag authors of shared links on mastodon if possible

This commit is contained in:
Cory Dransfeldt 2024-07-04 15:11:43 -07:00
parent 8ea14491b9
commit 2d1cdc54f6
No known key found for this signature in database
7 changed files with 17 additions and 37 deletions

View file

@ -28,7 +28,7 @@ const fetchAllLinks = async () => {
while (fetchMore) {
const { data, error } = await supabase
.from('links')
.select('*, authors (name, url)')
.select('*, authors (name, url, mastodon)')
.order('date', { ascending: false })
.range(page * PAGE_SIZE, (page + 1) * PAGE_SIZE - 1)