Skip to content

Commit

Permalink
fix: Fixed get text status function (close #2115)
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Jul 16, 2024
1 parent 192e416 commit b165a1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/whatsapp/collections/StatusCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export declare class StatusCollection extends BaseCollection<StatusModel> {
exportModule(
exports,
{
StatusCollection: ['StatusCollectionImpl', 'TextStatusCollectionImpl'],
StatusCollection: 'TextStatusCollectionImpl',
},
(m) => m.StatusCollectionImpl || m.TextStatusCollectionImpl
(m) => m.TextStatusCollectionImpl
);
4 changes: 2 additions & 2 deletions src/whatsapp/stores.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ exportModule(
exportModule(
exports,
{
StatusStore: ['StatusCollectionImpl', 'TextStatusCollection'],
StatusStore: 'TextStatusCollection',
},
(m) => m.StatusCollection || m.TextStatusCollection
(m) => m.TextStatusCollection
);

exportModule(
Expand Down

0 comments on commit b165a1c

Please sign in to comment.