mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-19 15:44:28 +01:00
fixed bug in update profile endpoint
* due to a bug a it wasn't possible to update the avatar see #218
This commit is contained in:
@@ -862,7 +862,7 @@ func (s *SignalClient) UpdateProfile(number string, profileName string, base64Av
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
avatarTmpPath := s.avatarTmpDir + u.String() + "." + fType.Extension
|
avatarTmpPath = s.avatarTmpDir + u.String() + "." + fType.Extension
|
||||||
|
|
||||||
f, err := os.Create(avatarTmpPath)
|
f, err := os.Create(avatarTmpPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user