Skip to content

Commit

Permalink
Update API.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
sruthisun1 authored Nov 3, 2024
1 parent c11f02a commit db5e59b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/org/hackillinois/android/API.kt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ interface API {
suspend fun favoriteEvents(): FavoritesResponse

@PUT("user/follow/{eventId}/")
fun followEvent(@Path ("eventId") event : EventId): Call<FavoritesResponse>
fun followEvent(@Path("eventId") event: EventId): Call<FavoritesResponse>

@PUT("user/unfollow/")
fun unfollowEvent(@Body eventId: EventId): Call<FavoritesResponse>
Expand Down

0 comments on commit db5e59b

Please sign in to comment.