notmarek / BeFake

BeReal Python API wrapper
131 stars 29 forks source link

Fix saving after token refresh #95

Closed Smart123s closed 1 year ago

Smart123s commented 1 year ago

I really hope that this was the last problem with refreshes.

Basically, in https://github.com/notmarek/BeFake/pull/91 I've (rightfully) added a save command to the end of refresh_tokens(), however, that was called before firebase tokens were loaded, so the save() command failed with an AttributeError.

Fixes https://github.com/notmarek/BeFake/issues/89 Fixes https://github.com/notmarek/BeFake/issues/94

Smart123s commented 1 year ago

I've rebased to resolve merge conflicts.