aboutsummaryrefslogtreecommitdiff
path: root/find_session.v
diff options
context:
space:
mode:
authorIndrajith K L2021-08-12 15:15:06 +0530
committerIndrajith K L2021-08-12 15:15:06 +0530
commit14a6026f5905edd8c727e048b51551758e234542 (patch)
tree0842476b1de0756a37fb1dbe3155e9cef0d25e89 /find_session.v
parentb4b8338010a98e57fabeeb6d77c04c64a5d058a3 (diff)
downloadv-cowin-14a6026f5905edd8c727e048b51551758e234542.tar.gz
v-cowin-14a6026f5905edd8c727e048b51551758e234542.tar.bz2
v-cowin-14a6026f5905edd8c727e048b51551758e234542.zip
* Code Formatting
* Updates Readme
Diffstat (limited to 'find_session.v')
-rw-r--r--find_session.v3
1 files changed, 1 insertions, 2 deletions
diff --git a/find_session.v b/find_session.v
index a4a94b2..aebf2b4 100644
--- a/find_session.v
+++ b/find_session.v
@@ -144,8 +144,7 @@ fn (mut app App) find_session(district_id int,date string) {
return
}
- app.data.available_sessions = session_data.sessions
- .filter( it.available_capacity > 0 && it.min_age_limit<45)
+ app.data.available_sessions = session_data.sessions.filter( it.available_capacity > 0 && it.min_age_limit<45)
app.is_loading = false
}