chore: defaults
This commit is contained in:
parent
bf01a5d86b
commit
db11cffe80
|
@ -3,7 +3,7 @@ import schemapack from 'schemapack';
|
|||
|
||||
export class Packet {
|
||||
|
||||
constructor(data) {
|
||||
constructor(data = {}) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user