Fix write file in api package

This commit is contained in:
Elara 2021-11-23 11:19:21 -08:00
parent 2e8c825fff
commit b2ffb2062a
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ func (c *Client) WriteFile(path, data string) error {
Data: types.ReqDataFS{
Type: types.FSTypeRead,
Files: []string{path},
Data: data,
},
})
if err != nil {