Skip to content

Commit

Permalink
Fix: iOS 빌드 파일 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
devlwh0830 committed Oct 19, 2024
1 parent 3e15dc6 commit c2298f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/screens/welcome/signup_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ class _SignupScreenState extends State<SignupScreen> {
_nameController.text,
_phoneController.text,
);
final code2 = await setProfileImageService();
if (code == 200 && code2 == 200) {
// final code2 = await setProfileImageService();
if (code == 200) {
Navigator.of(context).pushReplacement(MaterialPageRoute(
builder: (context) => const ScreenController(),
));
Expand Down
1 change: 1 addition & 0 deletions lib/screens/welcome/welcome_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ class _WelcomeScreenState extends State<WelcomeScreen>
'KAKAO',
user.kakaoAccount!.email!,
);
// final code2 = await setProfileImageService();
if (code == 200) {
//Login Success
Navigator.of(context)
Expand Down
2 changes: 1 addition & 1 deletion lib/service/auth_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Future<int?> setProfileImageService() async {
DioMethod.patch,
token: "Bearer $token",
param: {
"profileImage": "string"
"profileImage": "https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_1280.png"
},
contentType: 'application/json',
);
Expand Down

0 comments on commit c2298f0

Please sign in to comment.