Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/global/BlueskyPostEmbed.client.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async function resolveAtUri(): Promise<string | null> {
const [, handle, rkey] = match

// If the handle is already a DID, build the AT URI directly
if (handle.startsWith('did:')) {
if (handle && handle.startsWith('did:')) {
return `at://${handle}/app.bsky.feed.post/${rkey}`
}

Expand Down
3 changes: 2 additions & 1 deletion shared/types/blog-post.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { type AtIdentifierString } from '@atproto/lex'
import type * as app from '#shared/types/lexicons/app'

export type CommentEmbed =
Expand Down Expand Up @@ -27,6 +28,6 @@ export interface Comment {
export interface FederatedArticleInput {
url: string
title: string
authorHandle: string
authorHandle: AtIdentifierString
description: string
}
Loading