diff --git a/.github/workflows/PROJECT-FLUTTER-CI.yaml b/.github/workflows/PROJECT-FLUTTER-CI.yaml index 8754a21..6d29b83 100644 --- a/.github/workflows/PROJECT-FLUTTER-CI.yaml +++ b/.github/workflows/PROJECT-FLUTTER-CI.yaml @@ -475,7 +475,9 @@ jobs: # Release Keystore 설정 (secrets가 있는 경우에만) - name: Setup Release Keystore - if: ${{ secrets.RELEASE_KEYSTORE_BASE64 != '' }} + if: ${{ env.RELEASE_KEYSTORE_BASE64 != '' }} + env: + RELEASE_KEYSTORE_BASE64: ${{ secrets.RELEASE_KEYSTORE_BASE64 }} run: | mkdir -p android/app/keystore echo "${{ secrets.RELEASE_KEYSTORE_BASE64 }}" | base64 -d > android/app/keystore/key.jks @@ -483,7 +485,9 @@ jobs: # key.properties 생성 (secrets가 있는 경우에만) - name: Create key.properties - if: ${{ secrets.RELEASE_KEYSTORE_BASE64 != '' }} + if: ${{ env.RELEASE_KEYSTORE_BASE64 != '' }} + env: + RELEASE_KEYSTORE_BASE64: ${{ secrets.RELEASE_KEYSTORE_BASE64 }} run: | cat > android/key.properties << EOF storeFile=app/keystore/key.jks diff --git a/lib/features/ai_extraction/data/models/analyze_request.dart b/lib/features/ai_extraction/data/models/analyze_request.dart index 5b9632f..1838b6b 100644 --- a/lib/features/ai_extraction/data/models/analyze_request.dart +++ b/lib/features/ai_extraction/data/models/analyze_request.dart @@ -8,7 +8,7 @@ part 'analyze_request.g.dart'; class AnalyzeRequest with _$AnalyzeRequest { const factory AnalyzeRequest({ /// SNS URL (Instagram, YouTube) - required String sourceUrl, + @JsonKey(name: 'snsUrl') required String sourceUrl, }) = _AnalyzeRequest; factory AnalyzeRequest.fromJson(Map json) => diff --git a/lib/features/ai_extraction/data/models/analyze_request.g.dart b/lib/features/ai_extraction/data/models/analyze_request.g.dart index 273f5e9..c1b4d7f 100644 --- a/lib/features/ai_extraction/data/models/analyze_request.g.dart +++ b/lib/features/ai_extraction/data/models/analyze_request.g.dart @@ -7,8 +7,8 @@ part of 'analyze_request.dart'; // ************************************************************************** _$AnalyzeRequestImpl _$$AnalyzeRequestImplFromJson(Map json) => - _$AnalyzeRequestImpl(sourceUrl: json['sourceUrl'] as String); + _$AnalyzeRequestImpl(sourceUrl: json['snsUrl'] as String); Map _$$AnalyzeRequestImplToJson( _$AnalyzeRequestImpl instance, -) => {'sourceUrl': instance.sourceUrl}; +) => {'snsUrl': instance.sourceUrl};