Skip to content

Fix Location constructor error#122

Open
rafaelmerlotto wants to merge 1 commit into
rmyndharis:mainfrom
rafaelmerlotto:fix/location-constructor-error
Open

Fix Location constructor error#122
rafaelmerlotto wants to merge 1 commit into
rmyndharis:mainfrom
rafaelmerlotto:fix/location-constructor-error

Conversation

@rafaelmerlotto
Copy link
Copy Markdown

Description

Fixes the error "Location is not a constructor" occurring when using whatsapp-web.js.

The issue was caused by incorrect import and usage of the Location class. The code now correctly imports Location as LocationMessage and uses it accordingly.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Checklist

  • Tests added/updated
  • Documentation updated
  • Lint passes
  • Self-reviewed

Screenshots (if applicable)

Related Issues

No related issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant