Getting An Error With Cloud Function Implementation

Keep getting this error with my cloud function following the NFT tutorial on youtube. Any idea why this is happening? I attached a picture of the cloud function and the error

it looks like a syntax error somewhere, you could try to comment some lines to see if you still get that error