devv-work / timeato

Track productivity, allot time for focusing on tasks, and increase your effectiveness during study sessions
https://timeato.up.railway.app/
7 stars 1 forks source link

Signup bugfixing, TypeError on Railway #102

Closed Brandon-Schefstad closed 1 year ago

Brandon-Schefstad commented 1 year ago

Ignore the first three commits below, the only changes are const->let, removing destructuring in User.js, and only running updateTask() when timer reaches 0.

Original Issue #99

On the current version pushed to railway, when a user signs up they see: Railway displays this error:

It is this change to models/User.js that fixes it: This PR closes #101 (since it was just a small change) and #99 I made another railway app and pointed it to signup-bugfixing branch, everything seemed to work appropriately.

schneedotdev commented 1 year ago

Great fix. Thank you for providing a detailed description of the bug and your changes @Brandon-Schefstad!