Skip to content

Commit

Permalink
Run the patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Nov 13, 2024
1 parent 0b80070 commit 3330b1f
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions vrchat_dart_generated/lib/src/api/files_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,9 @@ class FilesApi {

dynamic _bodyData;

try {} catch (error, stackTrace) {
try {
_bodyData = FormData.fromMap({'file': file});
} catch (error, stackTrace) {
throw DioException(
requestOptions: _options.compose(
_dio.options,
Expand Down Expand Up @@ -1052,7 +1054,9 @@ class FilesApi {

dynamic _bodyData;

try {} catch (error, stackTrace) {
try {
_bodyData = FormData.fromMap({'file': file});
} catch (error, stackTrace) {
throw DioException(
requestOptions: _options.compose(
_dio.options,
Expand Down Expand Up @@ -1154,7 +1158,14 @@ class FilesApi {

dynamic _bodyData;

try {} catch (error, stackTrace) {
try {
_bodyData = FormData.fromMap({
'file': file,
'tag': tag,
if (animationStyle != null) 'animationStyle': animationStyle,
if (maskTag != null) 'maskTag': maskTag,
});
} catch (error, stackTrace) {
throw DioException(
requestOptions: _options.compose(
_dio.options,
Expand Down

0 comments on commit 3330b1f

Please sign in to comment.