File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Runnect-iOS/Runnect-iOS/Network/Router Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ extension CourseRouter: TargetType {
3030 var path : String {
3131 switch self {
3232 case . uploadCourseDrawing:
33- return " /course/v2 "
33+ return " /course "
3434 case . getAllPrivateCourse:
3535 return " /course/user "
3636 case . getPrivateCourseNotUploaded:
@@ -86,7 +86,7 @@ extension CourseRouter: TargetType {
8686 content [ " departureName " ] = param. departureName
8787
8888 let jsonData = try JSONSerialization . data ( withJSONObject: content)
89- let formData = MultipartFormData ( provider: . data( jsonData) , name: " courseCreateRequestDto " , mimeType: " application/json " )
89+ let formData = MultipartFormData ( provider: . data( jsonData) , name: " data " , mimeType: " application/json " )
9090 multipartFormData. append ( formData)
9191 } catch {
9292 print ( error. localizedDescription)
You can’t perform that action at this time.
0 commit comments