mdgspace / codephile-backend

Back-end for Official Codephile App
https://codephile.mdg.iitr.ac.in/
16 stars 6 forks source link

Update DB on signup #73

Closed dev-ritik closed 4 years ago

Arnesh07 commented 5 years ago

Explanation? This has already been tackled in the previous pull request. @dev-ritik

dev-ritik commented 5 years ago

44 would take considerable time before its merged. Meanwhile, we can solve this issue. Also, at the time of signup, we would only be updating the profile of that particular user only.

Arnesh07 commented 5 years ago

For this, I would have to copy the whole function RefreshSubmissions() from the previous pull request. One thing I can do is that comment the line in the scheduler that is resulting in the daily API calls to refresh data. @dev-ritik

dev-ritik commented 5 years ago

Copy and making a new PR would be better

Arnesh07 commented 4 years ago

Do we want to refresh the submissions of all the users in the database after any user signs up? Or just fetch his submissions? @dev-ritik

dev-ritik commented 4 years ago

Do we want to refresh the submissions of all the users in the database after any user signs up? Or just fetch his submissions? @dev-ritik

Fetch his own submissions