print successfully integrated!

This commit is contained in:
OnlyPapy98
2025-12-03 09:41:46 +01:00
parent 87a3e952aa
commit ed92a63015
16 changed files with 398 additions and 201 deletions

View File

@@ -9,7 +9,7 @@ import java.util.List;
public class Course {
private int id;
private String stype;
private String type;
private String numero;
private String nom;
private String lieu;
@@ -20,9 +20,9 @@ public class Course {
private String statut;
private int nombreChevauxInscrits;
public Course(int id, String stype, String numero, String nom, String lieu, String dateDepartCourse, int reunionId, String particularite, int partants, String statut, int nombreChevauxInscrits) {
public Course(int id, String type, String numero, String nom, String lieu, String dateDepartCourse, int reunionId, String particularite, int partants, String statut, int nombreChevauxInscrits) {
this.id = id;
this.stype = stype;
this.type = type;
this.numero = numero;
this.nom = nom;
this.lieu = lieu;
@@ -42,12 +42,12 @@ public class Course {
this.id = id;
}
public String getStype() {
return stype;
public String getType() {
return type;
}
public void setStype(String stype) {
this.stype = stype;
public void setType(String stype) {
this.type = stype;
}
public String getNumero() {

View File

@@ -20,7 +20,7 @@ import retrofit2.converter.gson.GsonConverterFactory;
@Module
@InstallIn(SingletonComponent.class)
public class ApiClient {
private static final String BASE_URL = "https://e3a593a96788.ngrok-free.app/api/v1/";
private static final String BASE_URL = "https://performances-leeds-operations-continued.trycloudflare.com/api/v1/";
@Provides
@Singleton