Can't upload image
shivan-s opened this issue · comments
Shivan Sivakumaran commented
Uncaught SyntaxError: "0"-prefixed octal literals are deprecated; use the "0o" prefix instead
This may be a known issue. This is console output when accessing the webpage.
I think this results in the upload not working (unless I'm mistaken).
The problem is in constants.js
with egg tart
having an id starting with 0
.
Hope this helps. Keep up the work.
Daniel Bourke commented
Yep you’re right, found this out last night haha.
Made some updates & they didn’t work…
Will fix soon.
Thank you for leaving an issue.
…
On 18 Mar 2022, at 8:20 am, Shivan Sivakumarnan ***@***.***> wrote:
Uncaught SyntaxError: "0"-prefixed octal literals are deprecated; use the "0o" prefix instead
This may be a known issue. This is console output when accessing the webpage.
I think this results in the upload not working (unless I'm mistaken).
The problem is in constants.js with egg tart having an id starting with 0.
Hope this helps. Keep up the work.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Shivan Sivakumaran commented
Don't be afraid of reaching out to some contribution ;)
Daniel Bourke commented
Fixed this with latest commit, you were right was the 0's issue in the FDC ID's (food data central keys).
I'll likely be opening up public commits later on.
Who knows, perhaps we turn this into a startup at some point!