Page MenuHomePhabricator

[lib] update getAvatarForUser signature
ClosedPublic

Authored by varun on Sep 24 2024, 8:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 7:03 PM
Unknown Object (File)
Fri, Nov 8, 7:03 PM
Unknown Object (File)
Fri, Nov 8, 7:03 PM
Unknown Object (File)
Fri, Nov 8, 7:01 PM
Unknown Object (File)
Fri, Nov 8, 7:01 AM
Unknown Object (File)
Fri, Nov 8, 2:08 AM
Unknown Object (File)
Fri, Nov 1, 7:41 PM
Unknown Object (File)
Oct 21 2024, 8:15 AM
Subscribers

Details

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

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage