aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/AudioBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-06-09 13:24:29 -0400
committerGitHub <noreply@github.com>2023-06-09 13:24:29 -0400
commit8feb55cb8a6dc851f55ff4d7e612896c1045b626 (patch)
treef7a1c1a151c377fa131070f68c3434ee8e364bb3 /src/client/views/nodes/AudioBox.tsx
parent3a70c915f3f2b64de72ac7cdff316184cb12db53 (diff)
parent7d9a5bc08cb8c5f72a6795aef9374eef12a7cdef (diff)
Merge pull request #172 from brown-dash/james-video-loading
Fix Image Loading
Diffstat (limited to 'src/client/views/nodes/AudioBox.tsx')
-rw-r--r--src/client/views/nodes/AudioBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/AudioBox.tsx b/src/client/views/nodes/AudioBox.tsx
index 0cb849923..6558d215a 100644
--- a/src/client/views/nodes/AudioBox.tsx
+++ b/src/client/views/nodes/AudioBox.tsx
@@ -233,7 +233,7 @@ export class AudioBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp
this.dataDoc[this.fieldKey + '-recordingStart'] = new DateField();
DocUtils.ActiveRecordings.push(this);
this._recorder.ondataavailable = async (e: any) => {
- const [{ result }] = await Networking.UploadFilesToServer(e.data);
+ const [{ result }] = await Networking.UploadFilesToServer({file: e.data});
if (!(result instanceof Error)) {
this.props.Document[this.fieldKey] = new AudioField(result.accessPaths.agnostic.client);
}