Skip to content

Commit

Permalink
revert track entity upload (#3753)
Browse files Browse the repository at this point in the history
Co-authored-by: Ubuntu <ubuntu@joe.us-central1-a.c.dev-audius-infra.internal>
  • Loading branch information
jowlee and Ubuntu authored Aug 24, 2022
1 parent b8ca31f commit 4d94f7c
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions libs/src/api/Track.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,19 +344,13 @@ export class Track extends Base {
* @param metadata json of the track metadata with all fields, missing fields will error
* @param onProgress callback fired with (loaded, total) on byte upload progress
*/
async uploadTrack({
trackFile,
coverArtFile,
metadata,
useEntityManager,
onProgress
}: {
trackFile: File
coverArtFile: File
metadata: TrackMetadata
async uploadTrack(
trackFile: File,
coverArtFile: File,
metadata: TrackMetadata,
onProgress: () => void,
useEntityManager: boolean
onProgress: () => void
}) {
) {
this.REQUIRES(Services.CREATOR_NODE)
this.FILE_IS_VALID(trackFile)

Expand Down

0 comments on commit 4d94f7c

Please sign in to comment.