Skip to content

Commit

Permalink
Update discord notification with new URLs (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-sherman authored Jul 18, 2024
1 parent 9253c4e commit 4e8909b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/frontpage/lib/data/db/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,13 +218,13 @@ export async function unauthed_createPost({
{
title: "New post on Frontpage",
description: post.title,
url: `https://frontpage.fyi/post/${rkey}`,
url: `https://frontpage.fyi/post/${authorDid}/${rkey}`,
color: 10181046,
author: bskyProfile
? {
name: `@${bskyProfile.handle}`,
icon_url: bskyProfile.avatar,
url: `https://bsky.app/profile/${bskyProfile.handle}`,
url: `https://frontpage.fyi/profile/${bskyProfile.handle}`,
}
: undefined,
fields: [
Expand Down

0 comments on commit 4e8909b

Please sign in to comment.