Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Fix #450, Fix 449
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Apr 10, 2022
1 parent 2507170 commit 1020904
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion pages/_type/_id/version.vue
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,8 @@ export default {
await Promise.all([
this.$axios.get(`version/${this.version.id}`, this.$auth.headers),
this.$axios.get(
`project/${this.version.project_id}/version?featured=true`
`project/${this.version.project_id}/version?featured=true`,
this.$auth.headers
),
])
).map((it) => it.data)
Expand Down
8 changes: 4 additions & 4 deletions pages/create/project.vue
Original file line number Diff line number Diff line change
Expand Up @@ -891,14 +891,14 @@ export default {
},
],
categories: this.categories,
issues_url: this.issues_url,
source_url: this.source_url,
wiki_url: this.wiki_url,
issues_url: this.issues_url ? this.issues_url : null,
source_url: this.source_url ? this.source_url : null,
wiki_url: this.wiki_url ? this.wiki_url : null,
discord_url: this.discord_url,
client_side: this.clientSideType.toLowerCase(),
server_side: this.serverSideType.toLowerCase(),
license_id: this.license ? this.license.short : 'arr',
license_url: this.license_url,
license_url: this.license_url ? this.license_url : null,
is_draft: this.draft,
donation_urls: this.donationPlatforms.map((it, index) => {
return {
Expand Down

1 comment on commit 1020904

@vercel
Copy link

@vercel vercel bot commented on 1020904 Apr 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.