update profile and UI tweaks

This commit is contained in:
Trey t
2025-11-30 12:37:15 -06:00
parent b0838d85df
commit 94781f4c48
25 changed files with 184 additions and 103 deletions

View File

@@ -100,7 +100,7 @@ class AuthApi(private val client: HttpClient = ApiClient.httpClient) {
suspend fun updateProfile(token: String, request: UpdateProfileRequest): ApiResult<User> {
return try {
val response = client.put("$baseUrl/auth/update-profile/") {
val response = client.put("$baseUrl/auth/profile/") {
header("Authorization", "Token $token")
contentType(ContentType.Application.Json)
setBody(request)