diff --git a/pages/_type/_id/version.vue b/pages/_type/_id/version.vue index 44d0a5c9..232623a9 100644 --- a/pages/_type/_id/version.vue +++ b/pages/_type/_id/version.vue @@ -763,9 +763,11 @@ export default { this.version.primary_file = ['sha1', this.primaryFile.hashes.sha1] + const copyVersion = JSON.parse(JSON.stringify(this.version)) + delete copyVersion.downloads await this.$axios.patch( `version/${this.version.id}`, - this.version, + copyVersion, this.$auth.headers )