commit 8d77f50a3abb094631ec23915a164e9cc37147bb
parent ad0d00dbc2d8ddb8bb1946fc95c38cad1dcd3317
Author: lash <dev@holbrook.no>
Date: Sun, 1 Sep 2024 19:49:39 +0100
Fix broken db example
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/db/main.go b/examples/db/main.go
@@ -31,7 +31,7 @@ var (
func say(ctx context.Context, sym string, input []byte) (resource.Result, error) {
var r resource.Result
- store.SetPrefix(db.DATATYPE_USERSTART)
+ store.SetPrefix(db.DATATYPE_USERDATA)
st := pr.GetState()
if st.MatchFlag(state.FLAG_USERSTART, false) {