if it's 'FILE_NOT_FOUND'
then the string will be read as truthy and you will get 'User is admin'
logged.
foxglove
joined 3 months ago
if it's 'FILE_NOT_FOUND'
then the string will be read as truthy and you will get 'User is admin'
logged.
yeah, it's funny how my brain collapsed the boolean check into
if (role)
rather thanif (role === true)
- that's trickywhat is
FILE_NOT_FOUND
? I can't find much on it ...