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