Commit a31d0589 authored by Sam Muirhead's avatar Sam Muirhead

move api response

parent e889026b
......@@ -47,7 +47,7 @@ console.log(license1)
async function getData()
{
//await the response of the fetch call
let response = await fetch('https://gitlab.com/cameralibre/cut-copy-and-paste/raw/master/Animation-Workshop/api-response');
let response = await fetch('https://gitlab.com/cameralibre/cut-copy-and-paste/raw/master/Print/Noun-Project-Illustrations/Print-from-API/api-response.json');
//proceed once the first promise is resolved.
let data = await response.json()
//proceed only when the second promise is resolved
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment