mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 08:05:57 +03:00
[PR #415] [MERGED] Fix token expiration time #812
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#812
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Rigellute/spotify-tui/pull/415
Author: @TimotheeGerber
Created: 4/25/2020
Status: ✅ Merged
Merged: 4/27/2020
Merged by: @Rigellute
Base:
master← Head:token-expiration📝 Commits (1)
9baab61Fix token expiration datetime📊 Changes
3 files changed (+17 additions, -11 deletions)
View changed files
📝
src/app.rs(+4 -4)📝
src/main.rs(+2 -2)📝
src/network.rs(+11 -5)📄 Description
When using the cached Spotify token, the expiration time was not correctly computed. As a consequence, the re-authentication was not triggered.
I had to move from
InstanttoSystemTime. I hope this is OK.Closes #410
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.