Update index.ts

This commit is contained in:
Killer069
2021-12-06 09:28:50 +05:30
committed by GitHub
parent 5400d90221
commit e0c30e9853

View File

@@ -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()
* } * }
* ``` * ```