diff options
author | Indrajith K L | 2021-08-12 15:15:06 +0530 |
---|---|---|
committer | Indrajith K L | 2021-08-12 15:15:06 +0530 |
commit | 14a6026f5905edd8c727e048b51551758e234542 (patch) | |
tree | 0842476b1de0756a37fb1dbe3155e9cef0d25e89 | |
parent | b4b8338010a98e57fabeeb6d77c04c64a5d058a3 (diff) | |
download | v-cowin-14a6026f5905edd8c727e048b51551758e234542.tar.gz v-cowin-14a6026f5905edd8c727e048b51551758e234542.tar.bz2 v-cowin-14a6026f5905edd8c727e048b51551758e234542.zip |
* Code Formatting
* Updates Readme
-rw-r--r-- | README.md | 9 | ||||
-rw-r--r-- | find_session.v | 3 |
2 files changed, 9 insertions, 3 deletions
@@ -12,5 +12,12 @@ If you need more details on the availability run v run ./find_session 13-08-2021 //Press enter to increment dates ``` +~Important~ District Code is hardcoded to Thiruvananthapuram -> All of the code is for learning purpose only. I will not be responsible for any error or inaccuracy in the data or any damage caused by this.
\ No newline at end of file +### TODO +- [ ] UI Formating +- [ ] User Input for State & District +- [ ] Filter Free & Paid + +### !!Disclaimer +> All of the code hosted in this repo for learning purpose only. I will not be responsible for any error or inaccuracy in the data or any damage caused by this. - Indrajith K L
\ No newline at end of file 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 } |