Skip to content

Commit

Permalink
Fix Lease Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Sep 18, 2024
1 parent d23e5bc commit f4ef07a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export default {
});
this.$emit('refresh');
} else {
const lease = await std('/api/video/lease', {
const { lease } = await std('/api/video/lease', {
method: 'POST',
body: {
name: this.editLease.name,
Expand All @@ -296,6 +296,7 @@ export default {
this.$emit('refresh')
} else {
this.editLease = lease;
await this.fetchLease();
}
Expand Down

0 comments on commit f4ef07a

Please sign in to comment.