Skip to content

Commit 2a1de96

Browse files
committed
Send ui with file upload request
1 parent 851c8dc commit 2a1de96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/form.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ export class FormFileInput extends React.Component {
384384
let formData = new FormData();
385385
formData.append('field_name', this.context.fieldName);
386386
formData.append('model_name', this.context.modelName);
387+
formData.append('uid', this.context.uid);
387388
formData.append('coordinates', JSON.stringify(this.props.name.split('-').slice(1)));
388389
formData.append('file', e.target.files[0]);
389390

0 commit comments

Comments
 (0)