Skip to content

Commit

Permalink
Fixes #3451
Browse files Browse the repository at this point in the history
  • Loading branch information
abeisgoat committed Jun 9, 2021
1 parent 13ff0e1 commit 8441e95
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/emulator/storage/apis/firebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ export function createFirebaseEndpoints(emulator: StorageEmulator): Router {
return;
}

if (!md.downloadTokens.length) {
md.addDownloadToken();
}

res.json(new OutgoingFirebaseMetadata(md));
});

Expand Down

0 comments on commit 8441e95

Please sign in to comment.