Skip to content

Commit 85d26e9

Browse files
committed
Remove EmptyRequest
1 parent 8ba8ea3 commit 85d26e9

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

app/src/main/java/com/cornellappdev/coursegrab/networking/CourseGrabService.kt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ interface CourseGrabService {
2323

2424
@POST("session/update/")
2525
suspend fun updateSession(
26-
@Header("Authorization") auth: String,
27-
@Body body: EmptyRequest = EmptyRequest()
26+
@Header("Authorization") auth: String
2827
): ApiResponse<UserSession>
2928

3029
@GET("users/tracking/")
@@ -69,9 +68,6 @@ interface CourseGrabService {
6968
): ApiResponse<Course>
7069
}
7170

72-
@Serializable
73-
class EmptyRequest
74-
7571
@Serializable
7672
data class InitializeSessionRequest(
7773
val token: String,

0 commit comments

Comments
 (0)