Skip to content

Commit

Permalink
Remove default params from Files.Query method to reduce noise
Browse files Browse the repository at this point in the history
  • Loading branch information
altaywtf committed Jul 11, 2020
1 parent d5383df commit 243ad51
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/resources/Files/Files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ export default class Files {
public Query(
id: number | string,
{
perPage = null,
sortBy = null,
contentType = null,
fileType = null,
streamUrl = null,
streamUrlParent = null,
mp4StreamUrl = null,
mp4StreamUrlParent = null,
hidden = false,
mp4Status = null,
mp4StatusParent = null,
videoMetadata = null,
videoMetadataParent = null,
codecsParent = null,
mediaInfoParent = null,
breadcrumbs = false,
total = true,
perPage,
sortBy,
contentType,
fileType,
streamUrl,
streamUrlParent,
mp4StreamUrl,
mp4StreamUrlParent,
hidden,
mp4Status,
mp4StatusParent,
videoMetadata,
videoMetadataParent,
codecsParent,
mediaInfoParent,
breadcrumbs,
total,
}: {
perPage?: number
sortBy?: FileSortOption
Expand Down

0 comments on commit 243ad51

Please sign in to comment.