File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -246,10 +246,7 @@ impl Client {
246
246
///
247
247
/// # Errors
248
248
/// This function will return an error if the request fails or if the URL is invalid.
249
- pub async fn read_event_type (
250
- & self ,
251
- event_type : & str ,
252
- ) -> Result < EventType , ClientError > {
249
+ pub async fn read_event_type ( & self , event_type : & str ) -> Result < EventType , ClientError > {
253
250
let response = self
254
251
. request_oneshot ( ReadEventTypeRequest {
255
252
event_type : event_type. to_string ( ) ,
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ pub mod list_event_types;
4
4
mod list_subjects;
5
5
mod observe_events;
6
6
mod ping;
7
- mod read_events;
8
7
mod read_event_type;
8
+ mod read_events;
9
9
mod register_event_schema;
10
10
mod run_eventql_query;
11
11
mod verify_api_token;
@@ -15,8 +15,8 @@ pub use list_event_types::ListEventTypesRequest;
15
15
pub use list_subjects:: ListSubjectsRequest ;
16
16
pub use observe_events:: ObserveEventsRequest ;
17
17
pub use ping:: PingRequest ;
18
- pub use read_events:: ReadEventsRequest ;
19
18
pub use read_event_type:: ReadEventTypeRequest ;
19
+ pub use read_events:: ReadEventsRequest ;
20
20
pub use register_event_schema:: RegisterEventSchemaRequest ;
21
21
pub use run_eventql_query:: RunEventqlQueryRequest ;
22
22
use serde_json:: Value ;
You can’t perform that action at this time.
0 commit comments