Part of #160. This is more or less a straight passthrough to LinkDb.completeLink(), which passes through to RedisClient.completeLink().
Also moved the /api/search test to be part of the API block, and tweaked the error path in that API endpoint to avoid emitting Cannot read property 'then' of undefined output, as in:
Coverage decreased (-0.02%) to 98.232% when pulling 383f7b43d87d20726cb1754e7d301215a2d644ef on autocomplete-api into 126a07696874c3d659654220595e03b5d075feb7 on master.
Part of #160. This is more or less a straight passthrough to LinkDb.completeLink(), which passes through to RedisClient.completeLink().
Also moved the
/api/search
test to be part of theAPI
block, and tweaked the error path in that API endpoint to avoid emittingCannot read property 'then' of undefined
output, as in:https://travis-ci.org/mbland/custom-links/jobs/371712950