Last active
February 7, 2020 09:49
-
-
Save aseredenko/4733e6d6f29e5de090c6ec935104127d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var vm = this; | |
axios.get(endpoints.offers, { | |
emulateJSON: true, | |
params: lead | |
}).then(function (response) { | |
vm.offersLoaded = true; | |
if (!!response.data.results.length) { | |
vm.results = response.data.results; | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment