Skip to content

Commit 80a8b1d

Browse files
committed
fix: missing provider in dns credential viewer
1 parent cb303ba commit 80a8b1d

File tree

7 files changed

+3787
-2963
lines changed

7 files changed

+3787
-2963
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ dist
99
*.po~
1010
nginx-ui
1111
resources/development/nginx
12+
app/.env

api/certificate/dns_credential.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@ func GetDnsCredential(c *gin.Context) {
2323
}
2424
type apiDnsCredential struct {
2525
model.Model
26-
Name string `json:"name"`
26+
Name string `json:"name"`
27+
Provider string `json:"provider"`
2728
dns.Config
2829
}
2930
c.JSON(http.StatusOK, apiDnsCredential{
30-
Model: dnsCredential.Model,
31-
Name: dnsCredential.Name,
32-
Config: *dnsCredential.Config,
31+
Model: dnsCredential.Model,
32+
Name: dnsCredential.Name,
33+
Provider: dnsCredential.Provider,
34+
Config: *dnsCredential.Config,
3335
})
3436
}
3537

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"pinia-plugin-persistedstate": "^3.2.1",
3232
"reconnecting-websocket": "^4.4.0",
3333
"sortablejs": "^1.15.2",
34-
"vite-plugin-build-id": "^0.2.8",
34+
"vite-plugin-build-id": "^0.2.9",
3535
"vue": "^3.4.27",
3636
"vue-github-button": "github:0xJacky/vue-github-button",
3737
"vue-router": "^4.3.2",

0 commit comments

Comments
 (0)