Hi, I've upgraded to v1.0 and can't get my Api con...
# help
j
Hi, I've upgraded to v1.0 and can't get my Api construct working. This is the error I'm getting and the construct setup. @Frank any ideas?
f
Hey @Jackson Bowe, what’s the runtime for the functions?
j
@Frank the runtime is "python3.7". I've not changed anything in the index.js file since upgrading to v1.0. Maybe I need to?
f
Do you have
app.setDefaultFunctionProps()
set in ur index file?
Python runtimes require
srcPath
being set. So I’m sure it was previously set.
Perhaps it’s somehow removed/ignored after the update.
j
yeah I have not changed anything in that file since upgrade
f
hmm.. can u share what
MyStack
looked like before u updated to v1?
j
Sure. This is the Api construct before update
f
yeah u had
srcPath
j
Yeah and it was working well. After update
srcPath
was causing error. So I removed it
I'll put it back and show error logs, one moment
f
yup
j
I can't reproduce the error. Seems to be working. I guess I just bungled up the migration to v1.0 :L Thanks for your time anyway, much appreciated <3
f
Glad its working 👍