Skip to content
Prev Previous commit
Next Next commit
The patches
  • Loading branch information
Rexios80 committed May 8, 2025
commit 3ed4ab0a38de44795b6fdac70fd06b62c82dddbb
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 @@ -1212,7 +1212,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 @@ -1308,7 +1310,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 @@ -1410,7 +1414,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