Skip to content

Commit 78d731a

Browse files
authored
Fix typo in UpdateFileReq field name
ref: OpenListTeam/115-sdk-go#3 Signed-off-by: LXY <767763591@qq.com>
1 parent a8d1c0d commit 78d731a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/115_open/driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func (d *Open115) Rename(ctx context.Context, srcObj model.Obj, newName string)
176176
}
177177
_, err := d.client.UpdateFile(ctx, &sdk.UpdateFileReq{
178178
FileID: srcObj.GetID(),
179-
FileNma: newName,
179+
FileName: newName,
180180
})
181181
if err != nil {
182182
return nil, err

0 commit comments

Comments
 (0)