hunk.code_window:       }
         const userId = req.user.id;
         const fileName = `${userId}${extname(file.originalname)}`;
         cb(null, sanitize(fileName));
       },
     }),
   };
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:       cb(null, sanitize(String(fileName)));
  
hunk.file_path: server/apps/immich/src/config/profile-image-upload.config.ts
hunk.type: replace
file: //
  // AUTO-GENERATED FILE, DO NOT MODIFY!
  //
  // @dart=2.12
  
  // ignore_for_file: unused_element, unused_import
  // ignore_for_file: always_put_required_named_parameters_first
  // ignore_for_file: constant_identifier_names
  // ignore_for_file: lines_longer_than_80_chars
  
  import 'package:openapi/api.dart';
  import 'package:test/test.dart';
  
  // tests for DeleteAssetDto
  void main() {
    // final instance = DeleteAssetDto();
  
    group('test DeleteAssetDto', () {
      // List<String> ids (default value: const [])
      test('to test the property `ids`', () async {
        // TODO
      });
  
  
    });
  
  }
  