mirror of
https://github.com/bspeice/UNCCGameDay
synced 2024-11-05 07:38:13 -05:00
Dumb mistake in Retrofit - use @Path, not @Query
This commit is contained in:
parent
20bba0e571
commit
04adbbae94
@ -17,10 +17,10 @@ public interface GamedayService {
|
||||
void rateLot(@Body ParkingRating p, Callback<ParkingLot> lot);
|
||||
|
||||
@GET("/register/{id}/")
|
||||
Attendee getUser(@Query("id") int id);
|
||||
Attendee getUser(@Path("id") int id);
|
||||
|
||||
@GET("/register/{fname}/{lname}/")
|
||||
Attendee getUser(@Query("fname") String firstName, @Query("lname") String lastName);
|
||||
Attendee getUser(@Path("fname") String firstName, @Path("lname") String lastName);
|
||||
|
||||
@GET("/register/")
|
||||
List<Attendee> getAllUsers();
|
||||
|
Loading…
Reference in New Issue
Block a user