Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Fix broken profile icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed May 23, 2022
1 parent 58cd03a commit 40a7005
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/com/ivy/wallet/io/network/data/UserDTO.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.ivy.wallet.io.network.data

import com.google.gson.annotations.SerializedName
import com.ivy.wallet.domain.data.AuthProviderType
import com.ivy.wallet.io.persistence.data.UserEntity
import java.util.*
Expand All @@ -9,6 +10,7 @@ data class UserDTO(
val authProviderType: AuthProviderType,
var firstName: String,
val lastName: String?,
@SerializedName("profilePictureUrl")
val profilePicture: String?,
val color: Int,

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.ivy.wallet.io.network.request.auth

import com.google.gson.annotations.SerializedName
import com.ivy.wallet.domain.data.core.User
import com.ivy.wallet.io.network.data.UserDTO

data class AuthResponse(
@SerializedName("user")
val user: User,
val user: UserDTO,
@SerializedName("sessionToken")
val sessionToken: String
)

0 comments on commit 40a7005

Please sign in to comment.