minor fix

This commit is contained in:
crn4
2025-06-16 13:16:52 +02:00
parent 19835dc6d5
commit 6cd77cc17c

View File

@@ -139,7 +139,7 @@ func (s *GRPCServer) Sync(req *proto.EncryptedMessage, srv proto.ManagementServi
syncReq := &proto.SyncRequest{}
peerKey, err := s.parseRequest(ctx, req, syncReq)
if err != nil {
return err
return mapError(ctx, err)
}
peerMeta := extractPeerMeta(ctx, syncReq.GetMeta())
metahashed := metaHash(peerMeta)