File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ pub mod event_reducer;
35
35
lazy_static ! {
36
36
static ref CHANNEL_GET_BY_ID : Regex =
37
37
Regex :: new( r"^/channel/0x([a-zA-Z0-9]{64})/?$" ) . expect( "The regex should be valid" ) ;
38
- static ref LAST_APPROVED_BY_CHANNEL_ID : Regex = Regex :: new( r"^/channel/0x([a-zA-Z0-9]{64})/last-approved?$" ) . expect( "The regex should be valid" ) ;
39
- static ref CHANNEL_STATUS_BY_CHANNEL_ID : Regex = Regex :: new( r"^/channel/0x([a-zA-Z0-9]{64})/status?$" ) . expect( "The regex should be valid" ) ;
38
+ static ref LAST_APPROVED_BY_CHANNEL_ID : Regex = Regex :: new( r"^/channel/0x([a-zA-Z0-9]{64})/last-approved/ ?$" ) . expect( "The regex should be valid" ) ;
39
+ static ref CHANNEL_STATUS_BY_CHANNEL_ID : Regex = Regex :: new( r"^/channel/0x([a-zA-Z0-9]{64})/status/ ?$" ) . expect( "The regex should be valid" ) ;
40
40
// @TODO define other regex routes
41
41
}
42
42
You can’t perform that action at this time.
0 commit comments