mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-06 04:32:40 +00:00
Update index.ts
This commit is contained in:
@@ -147,7 +147,7 @@ export async function SpotifyAuthorize(data: SpotifyDataOptions, file: boolean):
|
||||
*
|
||||
* Update token if returned false.
|
||||
* ```ts
|
||||
* if (!play.is_expired()) {
|
||||
* if (play.is_expired()) {
|
||||
* await play.refreshToken()
|
||||
* }
|
||||
* ```
|
||||
@@ -208,7 +208,7 @@ export async function sp_search(
|
||||
* Refreshes Token
|
||||
*
|
||||
* ```ts
|
||||
* if (!play.is_expired()) {
|
||||
* if (play.is_expired()) {
|
||||
* await play.refreshToken()
|
||||
* }
|
||||
* ```
|
||||
|
||||
Reference in New Issue
Block a user