podcast url

This commit is contained in:
Luke Berndt
2023-02-28 22:07:35 -05:00
parent 49792b4b94
commit 417539e3ea
2 changed files with 2 additions and 0 deletions

View File

@@ -282,6 +282,7 @@ const packageEvent = (eventId) => {
const downloadUrl = 'https://' + s3_endpoint + "/" + s3_bucket + "/" + s3ZipFile;
const podcastUrl = 'https://' + s3_endpoint + "/" + s3_bucket + "/" + s3PodcastFile;
event.downloadUrl = downloadUrl;
event.podcastUrl = podcastUrl;
await event.save();
await createPodcast(tmpEventFolder, podcastFile, event);
await uploadFile(podcastFile,s3PodcastFile);

View File

@@ -9,6 +9,7 @@ var eventSchema = mongoose.Schema({
startTime: Date,
endTime: Date,
downloadUrl: String,
podcastUrl: String,
shortNames: [String],
calls: [frozenCallSchema],
numCalls: Number