Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
TEAS-577 [fix] make limit accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
untoldwind committed Dec 4, 2018
1 parent 639b7ce commit 8168027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parse_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::fmt;
use std::ops::Deref;

pub struct ValidatedJsonConfig {
limit: usize,
pub limit: usize,
}

impl Default for ValidatedJsonConfig {
Expand Down Expand Up @@ -100,7 +100,7 @@ macro_rules! request_parameter {
}

pub struct LimitedRawConfig {
limit: usize,
pub limit: usize,
}

impl Default for LimitedRawConfig {
Expand Down

0 comments on commit 8168027

Please sign in to comment.