]> git.mxchange.org Git - friendica.git/commit
Throw Not Found exception when $uid doesn't exist in Factory\Api\Twitter\User->create...
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 25 Feb 2024 04:51:27 +0000 (23:51 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 27 Feb 2024 13:41:51 +0000 (08:41 -0500)
commitd37699bc08f0b57af42f21e40481141cdd490be1
tree3d3f47e5f4793f9029c47050335376d95b25b9c7
parentac087749e3813921341c3d1c4cae8c576b5ac000
Throw Not Found exception when $uid doesn't exist in Factory\Api\Twitter\User->createFromUserId

- Contact::getPublicIdByUserId() wrongly returns 0 when $uid doesn't exist, which is an existing albeit invalid record.
src/Factory/Api/Twitter/User.php
tests/src/Factory/Api/Twitter/UserTest.php