I'm trying to access the promise value from an Axios call from another function.
methods: {
    checkItem() {
        const url = "http://api.crossref.org/journals/" + this.editedItem.issn;
        return axios.get(url)
            .then(response => response.status);
    },
    save() {
        console.log(this.checkItem());
    }
}
I'm expecting the status code to be logged in the console when I call save(). At the moment, it's logging the whole promise.
 
     
     
     
    