Refactor balance's Factor field name with its plural form

Stored balances previous to this commit, that had a non-nil Factors map, will
now have Factors nil due to field name mismatch.
This commit is contained in:
ionutboangiu
2024-04-01 18:05:56 +03:00
committed by Dan Christian Bogos
parent 45066b2d2f
commit bd4aa99458
17 changed files with 100 additions and 101 deletions

View File

@@ -2055,7 +2055,7 @@ func testConsoleItAccounts(t *testing.T) {
"DestinationIDs": map[string]any{},
"Disabled": false,
"ExpirationDate": "0001-01-01T00:00:00Z",
"Factor": nil,
"Factors": nil,
"ID": "test",
"RatingSubject": "",
"SharedGroups": map[string]any{},
@@ -2474,7 +2474,7 @@ func testConsoleItTriggers(t *testing.T) {
"DestinationIDs": nil,
"Disabled": nil,
"ExpirationDate": nil,
"Factor": nil,
"Factors": nil,
"ID": nil,
"RatingSubject": nil,
"SharedGroups": nil,