fix parse to int

This commit is contained in:
2023-07-07 23:40:57 +02:00
parent 0d4f34f6d5
commit 44c8c96fbd
3 changed files with 10 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ import (
type account struct {
Salt string `prosody:"salt"`
StoredKey string `prosody:"stored_key"`
IterationCount int `prosody:"iteration_count"`
IterationCount string `prosody:"iteration_count"`
}
func (acc *account) unmarshal(data map[string]interface{}) {