Fix: Wrong import of Contact object (#2715)
* Fix: Wrong import of Contact object
There was an error in the import:
`const {Contact} = require('./Contact');`
instead of
`const Contact = require('./Contact');`
* style: fix import order
---------
Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
This commit is contained in:
parent
7851ad5bd2
commit
2100853727
1 changed files with 2 additions and 2 deletions
|
|
@ -6,8 +6,8 @@ const Location = require('./Location');
|
||||||
const Order = require('./Order');
|
const Order = require('./Order');
|
||||||
const Payment = require('./Payment');
|
const Payment = require('./Payment');
|
||||||
const Reaction = require('./Reaction');
|
const Reaction = require('./Reaction');
|
||||||
const {MessageTypes} = require('../util/Constants');
|
const Contact = require('./Contact');
|
||||||
const {Contact} = require('./Contact');
|
const { MessageTypes } = require('../util/Constants');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a Message on WhatsApp
|
* Represents a Message on WhatsApp
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue