From 9fe004f4a415303540182e4bf50ac3ff31e5fb45 Mon Sep 17 00:00:00 2001 From: ari Date: Mon, 21 Apr 2025 00:36:16 -0400 Subject: [PATCH] Use ProcessAtUri function where applicable --- src/lib/pdsfetch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/pdsfetch.ts b/src/lib/pdsfetch.ts index 2296e94..0dec969 100644 --- a/src/lib/pdsfetch.ts +++ b/src/lib/pdsfetch.ts @@ -48,7 +48,7 @@ class Post { account: AccountMetadata, ) { this.postCid = record.cid; - this.recordName = record.uri.split("/").slice(-1)[0]; + this.recordName = processAtUri(record.uri).rkey; this.authorDid = account.did; this.authorAvatarCid = account.avatarCid; this.authorHandle = account.handle;