Fix write file in api package

This commit is contained in:
Elara 2021-11-23 11:19:21 -08:00
parent fcb5bcd967
commit 0720feba96

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 {