Fix typo in error details of ParseSetEACL function

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-05-26 13:53:55 +03:00 committed by Leonard Lyubich
parent 9659bdc14d
commit c12ea210da

View file

@ -81,7 +81,7 @@ func ParseSetEACL(items []stackitem.Item) (event.Event, error) {
// parse session token
ev.token, err = client.BytesFromStackItem(items[3])
if err != nil {
return nil, fmt.Errorf("could not get sesison token: %w", err)
return nil, fmt.Errorf("could not get session token: %w", err)
}
return ev, nil