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 {
246246 ///
247247 /// # Errors
248248 /// 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 > {
253250 let response = self
254251 . request_oneshot ( ReadEventTypeRequest {
255252 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;
44mod list_subjects;
55mod observe_events;
66mod ping;
7- mod read_events;
87mod read_event_type;
8+ mod read_events;
99mod register_event_schema;
1010mod run_eventql_query;
1111mod verify_api_token;
@@ -15,8 +15,8 @@ pub use list_event_types::ListEventTypesRequest;
1515pub use list_subjects:: ListSubjectsRequest ;
1616pub use observe_events:: ObserveEventsRequest ;
1717pub use ping:: PingRequest ;
18- pub use read_events:: ReadEventsRequest ;
1918pub use read_event_type:: ReadEventTypeRequest ;
19+ pub use read_events:: ReadEventsRequest ;
2020pub use register_event_schema:: RegisterEventSchemaRequest ;
2121pub use run_eventql_query:: RunEventqlQueryRequest ;
2222use serde_json:: Value ;
You can’t perform that action at this time.
0 commit comments