light modification

This commit is contained in:
mr
2025-01-15 09:20:26 +01:00
parent abd6c1d712
commit ad69c04951
7 changed files with 26 additions and 35 deletions

View File

@@ -25,10 +25,6 @@ func (d *StorageResource) GetAccessor(request *tools.APIRequest) utils.Accessor
return NewAccessor[*StorageResource](tools.STORAGE_RESOURCE, request, func() utils.DBObject { return &StorageResource{} }) // Create a new instance of the accessor
}
func (r *StorageResource) Transform() utils.DBObject {
return r
}
type StorageResourceInstance struct {
ResourceInstance[*StorageResourcePartnership]
Local bool `bson:"local" json:"local"`