Skip to content

Commit

Permalink
fix: missing provider in dns credential viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Jun 10, 2024
1 parent cb303ba commit 80a8b1d
Show file tree
Hide file tree
Showing 7 changed files with 3,787 additions and 2,963 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ dist
*.po~
nginx-ui
resources/development/nginx
app/.env
10 changes: 6 additions & 4 deletions api/certificate/dns_credential.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ func GetDnsCredential(c *gin.Context) {
}
type apiDnsCredential struct {
model.Model
Name string `json:"name"`
Name string `json:"name"`
Provider string `json:"provider"`
dns.Config
}
c.JSON(http.StatusOK, apiDnsCredential{
Model: dnsCredential.Model,
Name: dnsCredential.Name,
Config: *dnsCredential.Config,
Model: dnsCredential.Model,
Name: dnsCredential.Name,
Provider: dnsCredential.Provider,
Config: *dnsCredential.Config,
})
}

Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"pinia-plugin-persistedstate": "^3.2.1",
"reconnecting-websocket": "^4.4.0",
"sortablejs": "^1.15.2",
"vite-plugin-build-id": "^0.2.8",
"vite-plugin-build-id": "^0.2.9",
"vue": "^3.4.27",
"vue-github-button": "github:0xJacky/vue-github-button",
"vue-router": "^4.3.2",
Expand Down
Loading

0 comments on commit 80a8b1d

Please sign in to comment.