Skip to content

Commit

Permalink
Merge branch 'master' into vikramr/fix-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vikramraman authored Jan 19, 2024
2 parents 6272301 + 654dc38 commit ff0262a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1198,6 +1198,9 @@ func (c *Client) CreateFiledrop(ctx context.Context, workspaceId string, datastr
c.obs2110.Lock()
defer c.obs2110.Unlock()
}
if c.Config.ManagingObjectID != nil {
input.ManagedById = c.Config.ManagingObjectID
}
result, err := c.Meta.CreateFiledrop(ctx, workspaceId, datastreamId, input)
if err != nil {
return nil, err
Expand All @@ -1211,6 +1214,9 @@ func (c *Client) UpdateFiledrop(ctx context.Context, id string, input *meta.File
c.obs2110.Lock()
defer c.obs2110.Unlock()
}
if c.Config.ManagingObjectID != nil {
input.ManagedById = c.Config.ManagingObjectID
}
result, err := c.Meta.UpdateFiledrop(ctx, id, input)
if err != nil {
return nil, err
Expand Down

0 comments on commit ff0262a

Please sign in to comment.