Update index.ts
This commit is contained in:
parent
5400d90221
commit
e0c30e9853
@ -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()
|
||||
* }
|
||||
* ```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user