change
Profile
Pic
@Modifying(clearAutomatically = true
)
@Query(value = ""UPDATE " + USERS_KEY + " SET " + PROFILE_PIC_KEY + "=:" + PROFILE_PIC_KEY + " WHERE "
+ IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY",
nativeQuery = true
)
Method to execute the query to change the profile pic of the EquinoxUser
Parameters
profilePicUrl
: the profile pic formatted as url
id
: the identifier of the user