commit e40dd10bca0f6c5ee39eb0413df71bd24ed22dc5 parent 682596670de03a196a3f9334b40dfb96c6053dba Author: triesap <triesap@radroots.dev> Date: Mon, 3 Nov 2025 21:06:42 +0000 Edit profile utilities to standardize variable naming for listing identifiers. Diffstat:
| M | app/src/lib/utils/profile/index.ts | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/src/lib/utils/profile/index.ts b/app/src/lib/utils/profile/index.ts @@ -82,8 +82,8 @@ export async function load_profile_indexed( ); const listings = await fetch_listings(fetch_fn, kind, key); - const listingIds = listings.map((m) => m.id.toLowerCase()); - const listing_comments = await fetch_comments_for_roots(fetch_fn, listingIds); + const listing_ids = listings.map((m) => m.id.toLowerCase()); + const listing_comments = await fetch_comments_for_roots(fetch_fn, listing_ids); const public_key = profile.author; const npub = lib_nostr_npub_encode(public_key);