i am trying to create a firebase cloud function which gets download url of an image which is valid for a long time. My code that throws error is as follows:
const