Mettre à jour utilisation de models.Bucket et V1SeedResponse
This commit is contained in:
parent
ab5ba6708c
commit
8dd0049fba
2 changed files with 21 additions and 17 deletions
|
@ -444,7 +444,7 @@ func handleAdminDocumentsUploadPOST(c echo.Context) error {
|
|||
}
|
||||
|
||||
for bucketName, displayName := range buckets {
|
||||
data.Buckets = append(data.Buckets, Bucket{
|
||||
data.Buckets = append(data.Buckets, models.Bucket{
|
||||
Name: bucketName,
|
||||
DisplayName: displayName,
|
||||
})
|
||||
|
@ -467,7 +467,7 @@ func handleAdminDocumentsUploadPOST(c echo.Context) error {
|
|||
// Format response
|
||||
var info, status string
|
||||
|
||||
info = fmt.Sprintf("[%.0f] /public/documentation/%s/%s", response.Info.Size, response.Info.Bucket, response.Info.Object)
|
||||
info = fmt.Sprintf("[%.0f] /public/documentation/%s/%s", response.Data.Size, response.Data.Bucket, response.Data.Object)
|
||||
|
||||
status = response.Message
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue