From 14a6026f5905edd8c727e048b51551758e234542 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Thu, 12 Aug 2021 15:15:06 +0530 Subject: * Code Formatting * Updates Readme --- README.md | 9 ++++++++- find_session.v | 3 +-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 19eb318..8258da1 100644 --- a/README.md +++ b/README.md @@ -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 } -- cgit v1.2.3