Export models package

This commit is contained in:
lash
2024-11-03 01:44:57 +00:00
parent dae12ac498
commit a237b615f2
10 changed files with 5 additions and 4 deletions

View File

@@ -25,6 +25,7 @@ func (store *UserDataStore) ReadEntry(ctx context.Context, sessionId string, typ
}
// WriteEntry adds an entry to the userdata store.
// BUG: this uses sessionId twice
func (store *UserDataStore) WriteEntry(ctx context.Context, sessionId string, typ DataTyp, value []byte) error {
store.SetPrefix(db.DATATYPE_USERDATA)
store.SetSession(sessionId)