Closed strager closed 1 year ago
So, merging this two functions will result in the removal of the check for a non existent user
The checks should still be present in get_access_token
and get_refresh_token
. update_or_create_user
shouldn't ever throw UserNotFoundError
.
So, merging this two functions will result in the removal of the check for a non existent user (removing this test), since the new function will just create a new user if it doesn't exist and update the tokens if it already exists, are we ok with that?