h
This commit is contained in:
parent
7664f9a888
commit
60bdad4585
|
@ -3,6 +3,8 @@ export class CallStats {
|
||||||
* @param {CallStats} stats
|
* @param {CallStats} stats
|
||||||
*/
|
*/
|
||||||
constructor(stats) {
|
constructor(stats) {
|
||||||
|
for (const [ key, value ] of Object.entries(stats))
|
||||||
|
this[key] = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
totalCallsThisMonth;
|
totalCallsThisMonth;
|
||||||
|
|
Loading…
Reference in a new issue