wiki
wiki copied to clipboard
fix: nil pointer evaluating interface {}.databaseURL
You're introducing a condition where the object might exist but not the databaseURL, in which case nothing will work.
It would be better to keep it as a single condition and use something like dig to perform the check.