Close #1137 /claim #1137
Two changes:
getRegion
from site.util. the one in augment-site is virtually the same as the one in site.util, only variable name difference, and it does a find
but only need the first one of result, which could be the same as findOne
getRegion
function to return early. No functionality change, but logic flow is simpler and clear: we return undefined when getGoogleRegion
is undefinedYao Ding
@yaodingyd
Aqualink.org
@aqualinkorg