Closed macMikey closed 5 years ago
key>subkey is converted to an index lookup array (see tIndexA). It will be returned on line 836.
Change line 834 to
if the number of elements of tIndexA >= 1
What's happening is that for single level subkeys, levure isn't obtaining the subkey value. It works for nested subkeys 0 or >=2 levels deep. Adding >=1
fixes it.
See PR 129
Got it. Thanks!
levureAppGet accepts key>subkey, but in line 841 it returns sappa[pprop] which omits the key, i.e. it is saying return sappa[subkey] instead of sappa[key][subkey]