()
| 27 | |
| 28 | //function to get quotedata |
| 29 | const getQuote = async () => { |
| 30 | const api = "https://api.quotable.io/random"; |
| 31 | let data = await fetch(api); |
| 32 | realdata = await data.json(); |
| 33 | getNewQuotes(); |
| 34 | }; |
| 35 | |
| 36 | const tweetNow = () => { |
| 37 | let tweetPost = `https://twitter.com/intent/tweet?text=${realdata.content}-${realdata.author}`; |
nothing calls this directly
no test coverage detected