Due to the User on cached Member objects being nil at the time this check is done it results in a nil pointer dereference, this change allows it to work as intended.
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
Checklist:
[x] I have performed a self-review of my own code (remember to run go fmt ./...)
… allow cache usage
Description
Due to the User on cached Member objects being nil at the time this check is done it results in a nil pointer dereference, this change allows it to work as intended.
Type of change
Checklist:
go fmt ./...
)