Parse the token after the session id

This commit is contained in:
Rodolphe Breard 2019-07-11 23:42:05 +02:00
parent d76d60650a
commit 0f917e0132

View file

@ -262,9 +262,9 @@ fn parse_v1_filter(input: &str) -> IResult<&str, Entry> {
let (input, _) = separator(input)?; let (input, _) = separator(input)?;
let (input, event) = parse_event(input)?; let (input, event) = parse_event(input)?;
let (input, _) = separator(input)?; let (input, _) = separator(input)?;
let (input, token) = parse_token(input)?;
let (input, _) = separator(input)?;
let (input, session_id) = parse_session_id(input)?; let (input, session_id) = parse_session_id(input)?;
let (input, _) = separator(input)?;
let (input, token) = parse_token(input)?;
let (input, params) = many0(parse_param)(input)?; let (input, params) = many0(parse_param)(input)?;
let _ = line_ending(input)?; let _ = line_ending(input)?;
let filter = V1Filter { let filter = V1Filter {