diff --git a/lib/screens/welcome/signup_screen.dart b/lib/screens/welcome/signup_screen.dart index f9b1b6c..0052c53 100644 --- a/lib/screens/welcome/signup_screen.dart +++ b/lib/screens/welcome/signup_screen.dart @@ -104,8 +104,8 @@ class _SignupScreenState extends State { _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(), )); diff --git a/lib/screens/welcome/welcome_screen.dart b/lib/screens/welcome/welcome_screen.dart index e30bbe7..6d0cc1f 100644 --- a/lib/screens/welcome/welcome_screen.dart +++ b/lib/screens/welcome/welcome_screen.dart @@ -208,6 +208,7 @@ class _WelcomeScreenState extends State 'KAKAO', user.kakaoAccount!.email!, ); + // final code2 = await setProfileImageService(); if (code == 200) { //Login Success Navigator.of(context) diff --git a/lib/service/auth_service.dart b/lib/service/auth_service.dart index accecde..934f368 100644 --- a/lib/service/auth_service.dart +++ b/lib/service/auth_service.dart @@ -78,7 +78,7 @@ Future 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', );