go-fed / apcore

Golang ActivityPub Server Framework
GNU Affero General Public License v3.0
104 stars 10 forks source link

Fix nil pointer with enforceOneRow #61

Closed zauberstuhl closed 3 years ago

zauberstuhl commented 3 years ago

UserByPreferredUsername and UserByID can return nil for err and struct

cjslep commented 3 years ago

Thanks for tracking this down! As always, please feel free to be compensated for your time via the opencollective.