[GH-ISSUE #31] Please make a return if the session is null #24

Open
opened 2026-02-27 10:25:26 +03:00 by kerem · 1 comment
Owner

Originally created by @kikuKeii on GitHub (Apr 16, 2024).
Original GitHub issue: https://github.com/mimamch/wa-multi-session/issues/31

const session = whatsapp.getSession("mysessionid");
// returning session data

current if session is null session return

{}

Please make a return if the session is null

{
   "data":"null"
}

or anything that can make conditioning easier

Originally created by @kikuKeii on GitHub (Apr 16, 2024). Original GitHub issue: https://github.com/mimamch/wa-multi-session/issues/31 ```js const session = whatsapp.getSession("mysessionid"); // returning session data ``` current if session is null session return ```json {} ``` Please make a return if the session is null ```json { "data":"null" } ``` or anything that can make conditioning easier
Author
Owner

@mimamch commented on GitHub (Apr 17, 2024):

hi, check it soon...

<!-- gh-comment-id:2060763605 --> @mimamch commented on GitHub (Apr 17, 2024): hi, check it soon...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wa-multi-session-mimamch#24
No description provided.