@ -108,7 +108,7 @@ class ManagementPlaylistsRepository(override val context: Context?) :
@@ -108,7 +108,7 @@ class ManagementPlaylistsRepository(override val context: Context?) :
@ -122,12 +122,13 @@ class ManagementPlaylistsRepository(override val context: Context?) :
@@ -122,12 +122,13 @@ class ManagementPlaylistsRepository(override val context: Context?) :
.header("Content-Type","application/json")
.body(Gson().toJson(body))
.awaitByteArrayResponseResult()
}
throwIllegalStateException("Illegal state: context is null")
}else{
throwIllegalStateException("Illegal state: context is null")
@ -143,7 +144,8 @@ class ManagementPlaylistsRepository(override val context: Context?) :
@@ -143,7 +144,8 @@ class ManagementPlaylistsRepository(override val context: Context?) :
.body(Gson().toJson(body))
.awaitByteArrayResponseResult()
}
}else{
throwIllegalStateException("Illegal state: context is null")
}
throwIllegalStateException("Illegal state: context is null")