79381474

Date: 2025-01-23 14:35:55
Score: 0.5
Natty:
Report link

Maybe one way to get only first file in directory:

listAll(listRef).then((res) => {
    if (res.items[0] != null) {
        getDownloadURL(res.items[0]).then((url) => {
            zStorageApi[i] = url;
        });
    }
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hrvoje