Skip to content

Commit

Permalink
chore: remove unused /files/public endpoint usage
Browse files Browse the repository at this point in the history
  • Loading branch information
altaywtf committed Apr 24, 2024
1 parent 0919342 commit 9e05448
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/resources/Files/File.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,6 @@ export default class File {
this.client = client
}

public Public(
oauthToken: string,
{
mp4StatusParent = 1,
videoMetadataParent = 1,
codecsParent = 1,
mediaInfoParent = 1,
} = {},
) {
return this.client.get('/files/public', {
params: {
codecs_parent: codecsParent,
media_info_parent: mediaInfoParent,
mp4_status_parent: mp4StatusParent,
mp4_stream_url_parent: 1,
oauth_token: oauthToken,
stream_url_parent: 1,
video_metadata_parent: videoMetadataParent,
},
})
}

public Download(fileId: number) {
return this.client.get(`/files/${fileId}/download`)
}
Expand Down

0 comments on commit 9e05448

Please sign in to comment.