diff --git a/api/routes/video-lease.ts b/api/routes/video-lease.ts
index 525bd4b91..19e53ed6d 100644
--- a/api/routes/video-lease.ts
+++ b/api/routes/video-lease.ts
@@ -1,4 +1,5 @@
import { Type } from '@sinclair/typebox'
+import moment from 'moment';
import Schema from '@openaddresses/batch-schema';
import Err from '@openaddresses/batch-error';
import Auth, { AuthUserAccess } from '../lib/auth.js';
@@ -64,7 +65,8 @@ export default async function router(schema: Schema, config: Config) {
}
const lease = await config.models.VideoLease.generate({
- ...req.body,
+ name: req.body.name,
+ expiration: moment().add(req.body.duration, 'seconds').toISOString(),
path: randomUUID(),
username: user.email
})
diff --git a/api/web/src/components/CloudTAK/Map.vue b/api/web/src/components/CloudTAK/Map.vue
index 13005daf9..ae31ed101 100644
--- a/api/web/src/components/CloudTAK/Map.vue
+++ b/api/web/src/components/CloudTAK/Map.vue
@@ -255,7 +255,7 @@
class='col-12 py-1 px-2 hover-button cursor-pointer'
@click='startDraw("point")'
>
-