Run into a pureconfig.error.ConfigReaderException at lines for snipeTime when running with CL
Opened this issue · 2 comments
maryjosephine11 commented
Here is what I have the snipe time set to in the config file:
#############
# SnipeTime #
#############
# Hour of the day when reservations become available and when you want to snipe
# e.g.
# snipeTime.hours=9
snipeTime.hours=19
# Minute of the day when reservations become available and when you want to snipe
# e.g.
# snipeTime.minutes=0
snipeTime.minutes=0
and this is the error I get when I run in CL:
- (resyConfig.conf @ jar:file:/Users/mjajiduah/Desktop/resy-booking-bot-master/target/bg-jobs/sbt_a29d313a/job-5/target/b79fbb0d/1231b0bf/resy-booking-bot_2.13-HEAD+20230513-2206.jar!/resyConfig.conf: 60) Unable to parse the configuration: List should have ended with ] or had a comma, instead had token: '=' (if you want '=' to be part of a string value, then double-quote it).
I'm not sure why this error is occurring, especially since the syntax isn't wrong for parsing and my api keys are correct. I have a feeling it may just be the particular restaurant I'm working with, but not sure
openchampagne commented
How does your resDetails.res-time-types
look?
jaipalsilla commented
you need to put a [] for the res-times variable (empty brackets)