Adjust generated Types after recent fixes in openapi-generator for go

This commit is contained in:
Ralf Haferkamp
2022-01-31 10:34:14 +01:00
parent 5cf1a16ad7
commit 73ddf1bceb
2 changed files with 2 additions and 2 deletions

View File

@@ -360,7 +360,7 @@ func (g Graph) formatDrives(ctx context.Context, baseURL *url.URL, mds []*storag
// TODO cache until ./.config/ocis/space.yaml file changes
s = append(s, *sdi)
}
res.Special = &s
res.Special = s
}
}
// TODO this overwrites the quota that might already have been mapped in cs3StorageSpaceToDrive above ... move this into the cs3StorageSpaceToDrive method?

View File

@@ -90,7 +90,7 @@ func (e ErrorCode) Render(w http.ResponseWriter, r *http.Request, status int, ms
Error: libregraph.OdataErrorMain{
Code: e.String(),
Message: msg,
Innererror: &innererror,
Innererror: innererror,
},
}
render.Status(r, status)