remove unneeded select

thanks static typing
This commit is contained in:
Zynh0722 2023-11-06 20:42:32 -08:00
parent 40a5b99f02
commit cfb9a38c78

View file

@ -113,7 +113,6 @@ async fn root(State(state): State<AppState>, HxRequest(hx): HxRequest) -> impl I
shifts shifts
.filter(end.is_null()) .filter(end.is_null())
.select(Shift::as_select())
.first(&mut conn) .first(&mut conn)
.await .await
.optional() .optional()