Skip to content

Commit 448134b

Browse files
committed
fix: remove solana address
1 parent ae2a869 commit 448134b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/lib/utils.server.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,9 @@ export async function parseMessageWithAirstack(payload: any) {
313313
}
314314
return {
315315
fid: data.interactedByFid,
316-
verifications: data.interactedBy.userAssociatedAddresses.filter((a) => a !== data.interactedBy.userAddress),
316+
verifications: data.interactedBy.userAssociatedAddresses.filter(
317+
(a) => a !== data.interactedBy.userAddress && a.startsWith("0x")
318+
),
317319
custody_address: data.interactedBy.userAddress,
318320
username: data.interactedBy.profileHandle,
319321
display_name: data.interactedBy.profileDisplayName,

0 commit comments

Comments
 (0)