HomePhabricator
Diffusion Comm 9dc74fdfbfc6

[lib] update getAvatarForUser signature

Description

[lib] update getAvatarForUser signature

Summary: getAvatarForUser just needs a type that contains optional, nullable username and avatar fields. modifying the function signature to make it clear what data we're dealing with here.

Test Plan: tested with rest of stack by successfully setting thread and user avatars

Reviewers: ashoat

Reviewed By: ashoat

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D13450

Details

Provenance
varunAuthored on Sep 24 2024, 7:56 AM
Reviewer
ashoat
Differential Revision
D13450: [lib] update getAvatarForUser signature
Parents
rCOMMa6721376884e: [native] add farcaster avatar URL to registration workflow
Branches
Unknown
Tags
Unknown