Debouncing an API call with promise chaining

Results that have nothing to do with what you type