Page MenuHomePhabricator

[lib] update getAvatarForUser signature
ClosedPublic

Authored by varun on Sep 24 2024, 8:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 5:34 PM
Unknown Object (File)
Wed, Dec 18, 5:34 PM
Unknown Object (File)
Wed, Dec 18, 5:34 PM
Unknown Object (File)
Wed, Dec 18, 5:31 PM
Unknown Object (File)
Wed, Dec 18, 4:41 PM
Unknown Object (File)
Nov 29 2024, 12:17 PM
Unknown Object (File)
Nov 29 2024, 12:16 PM
Unknown Object (File)
Nov 29 2024, 11:02 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
Lint Not Applicable
Unit
Tests Not Applicable