mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-01-26 19:03:33 +00: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:
parent
9e40ce70bb
commit
ae149b2808
@ -862,7 +862,7 @@ func (s *SignalClient) UpdateProfile(number string, profileName string, base64Av
|
||||
return err
|
||||
}
|
||||
|
||||
avatarTmpPath := s.avatarTmpDir + u.String() + "." + fType.Extension
|
||||
avatarTmpPath = s.avatarTmpDir + u.String() + "." + fType.Extension
|
||||
|
||||
f, err := os.Create(avatarTmpPath)
|
||||
if err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user