fix gRPC-integration.md

This commit is contained in:
liuyao 2021-04-12 20:40:04 +08:00
parent 8ac1551a3e
commit ba5a25ed2d
1 changed files with 3 additions and 3 deletions

View File

@ -95,11 +95,11 @@ defer client.Close()
```go
// save state with the key key1
err = client.SaveStateData(ctx, "statestore", "key1", "1", data)
err = client.SaveState(ctx, "statestore", "key1", data)
if err != nil {
logger.Panic(err)
log.Panic(err)
}
logger.Println("data saved")
log.Println("data saved")
```
Hooray!