Skip to content

Commit

Permalink
fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaK2905 committed Nov 20, 2024
1 parent def5bfb commit c27f828
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
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 @@ -68,7 +68,7 @@ interface API {
suspend fun shop(): List<ShopItem>

@POST("shop/item/buy/")
suspend fun buyShopItem(@Body body: ItemInstance): List<ShopItem>
suspend fun buyShopItem(@Body body: ItemInstance): ShopItem

// STAFF

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import android.content.Context
import android.graphics.Bitmap
import android.graphics.Color
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
Expand Down Expand Up @@ -74,7 +73,6 @@ class ProfileFragment : Fragment() {
val mainActivity: MainActivity = requireActivity() as MainActivity
mainActivity.logout()
}

return view
}
if (isStaff()) {
Expand Down

0 comments on commit c27f828

Please sign in to comment.