mirror of
https://github.com/bit1001/tdl.git
synced 2024-09-20 06:35:54 +08:00
refactor(storage): remove useless convert
This commit is contained in:
parent
37aa4421dd
commit
7ab0e1b3e2
|
@ -28,7 +28,7 @@ func (s *Session) LoadSession(_ context.Context) ([]byte, error) {
|
|||
}
|
||||
return nil, err
|
||||
}
|
||||
return []byte(b), nil
|
||||
return b, nil
|
||||
}
|
||||
|
||||
func (s *Session) StoreSession(_ context.Context, data []byte) error {
|
||||
|
|
Loading…
Reference in a new issue