Skip to content

Commit

Permalink
🏷️ fix #10
Browse files Browse the repository at this point in the history
  • Loading branch information
2D authored Sep 20, 2021
1 parent b9b59ff commit f260eb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class REST {
* @param tracks Array of base64 encoded lavaplayer tracks to decode.
* @returns The decode tracks.
*/
decodeTracks(tracks: string[]): Promise<Lavalink.Track[]> {
decodeTracks(tracks: string[]): Promise<Lavalink.TrackInfo[]> {
return this
.do("/decodetracks", { body: JSON.stringify({ tracks }) })
.then(res => res.json());
Expand All @@ -60,7 +60,7 @@ export class REST {
* @param track The track to decode.
* @returns The decoded track.
*/
decodeTrack(track: string): Promise<Lavalink.Track> {
decodeTrack(track: string): Promise<Lavalink.TrackInfo> {
return this.do(`/decodetrack?track=${track}`).then(res => res.json());
}

Expand Down

0 comments on commit f260eb9

Please sign in to comment.