Skip to content

Commit

Permalink
Update pkg/share/manager/jsoncs3/jsoncs3.go
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonchaser authored Jun 5, 2023
1 parent f63716b commit 7e0b68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/share/manager/jsoncs3/jsoncs3.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ func (m *Manager) GetShare(ctx context.Context, ref *collaboration.ShareReferenc
log.Error().Err(err).
Msg("failed to publish share expired event")
}
return nil, errors.Errorf("Share is expired: %s\n", s.GetId())
return nil, errors.Errorf("share is expired: %s", s.GetId())
}
// check if we are the creator or the grantee
// TODO allow manager to get shares in a space created by other users
Expand Down

0 comments on commit 7e0b68b

Please sign in to comment.