Skip to content

Commit

Permalink
fix: Linux Platform id is not 1, create gateway error
Browse files Browse the repository at this point in the history
  • Loading branch information
BaiJiangJie authored and Halo1236 committed Jul 2, 2024
1 parent 4672aba commit 6879860
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default {
const { defaultConfig } = this
const { node, platform } = this.$route?.query || {}
const nodesInitial = node ? [node] : []
const platformId = platform || 1
const platformId = platform || 'Linux'
const url = `/api/v1/assets/platforms/${platformId}/`
this.platform = await this.$axios.get(url)
const initial = {
Expand Down

0 comments on commit 6879860

Please sign in to comment.