(ctx context.Context, req *encryption.DeleteNodeKeyRequest)
| 290 | } |
| 291 | |
| 292 | func (km *NodeKeyManagerHandler) DeleteNodeKey(ctx context.Context, req *encryption.DeleteNodeKeyRequest) (*encryption.DeleteNodeKeyResponse, error) { |
| 293 | dao, err := manager.Resolve[key.DAO](ctx) |
| 294 | if err != nil { |
| 295 | return nil, err |
| 296 | } |
| 297 | |
| 298 | rsp := &encryption.DeleteNodeKeyResponse{} |
| 299 | return rsp, dao.DeleteNodeKey(ctx, &encryption.NodeKey{ |
| 300 | UserId: req.UserId, |
| 301 | NodeId: req.NodeId, |
| 302 | }) |
| 303 | } |
| 304 | |
| 305 | func (km *NodeKeyManagerHandler) DeleteNodeSharedKey(ctx context.Context, req *encryption.DeleteNodeSharedKeyRequest) (*encryption.DeleteNodeSharedKeyResponse, error) { |
| 306 | dao, err := manager.Resolve[key.DAO](ctx) |
nothing calls this directly
no test coverage detected