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.
|
* Update token if returned false.
|
||||||
* ```ts
|
* ```ts
|
||||||
* if (!play.is_expired()) {
|
* if (play.is_expired()) {
|
||||||
* await play.refreshToken()
|
* await play.refreshToken()
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
@ -208,7 +208,7 @@ export async function sp_search(
|
|||||||
* Refreshes Token
|
* Refreshes Token
|
||||||
*
|
*
|
||||||
* ```ts
|
* ```ts
|
||||||
* if (!play.is_expired()) {
|
* if (play.is_expired()) {
|
||||||
* await play.refreshToken()
|
* await play.refreshToken()
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user