Skip to content

[WEBJS] - /api/contacts/about is broken #1469

@ricardokenji

Description

@ricardokenji

Describe the bug

After a recent update in whatsapp web, the method arguments used by whatsapp-web.js changed.
The call inside window.Store.StatusUtils.getStatus(wid) now expects an object instead of a plain value.

Current code:

window.Store.StatusUtils.getStatus(wid);

Expected format:

window.Store.StatusUtils.getStatus({ wid });

This causes an exception when trying to get contact about data.

A fix for this has already been merged upstream:
👉 pedroslopez/whatsapp-web.js#3833

Please, can you update waha wwjs version?

Version

Get the WAHA version by calling GET /api/version

{
  "version": "YYYY.MM.DD",
  "engine": "ENGINE",
  "tier": "TIER"
}

Steps

To Reproduce Steps to reproduce the behavior:

  1. Make a request to GET api/contacts/about

Expected behavior

return status

Requests - Responses

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions