Skip to content

Commit 1043129

Browse files
committed
Fix normailzer
1 parent 86040db commit 1043129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/utils/normalize-payload.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function transformObject(object, operation) {
77
let data = {};
88

99
Object.keys(object).forEach((key) => {
10-
data[key[operation]()] = transformObject(object[key], operation);
10+
data[String[operation](key)] = transformObject(object[key], operation);
1111
});
1212

1313
return data;

0 commit comments

Comments
 (0)