AOSSIE-Org / AOSSIE-Org/Social-Street-Smart

Undefined Variables and API Request Failure in popup.js

オープン
#78 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
54
フォーク
99
PR マージ指標
30日以内にマージされた PR はありません

説明

While testing the Chrome extension, I encountered the following issues in the popup.js file:

**Undefined Variables:**
`Lines 60 and 61 log undefined`, indicating that variables may not be properly initialized or assigned a value.
`At line 185, an Uncaught ReferenceError` : newsKeys is not defined error occurs, suggesting the newsKeys variable is used without being declared or initialized.

**Empty Object in Logs:**
`The console logs Old Keys:` followed by an empty object ({}), suggesting that the expected data is not being fetched or stored correctly.

**API Request Failure:**
The API call to phcg4hgf84.execute-api.us-east-1.amazonaws.com/dev/pred fails with net::ERR_NAME_NOT_RESOLVED.
The request includes key=undefined, indicating a potential misconfiguration or an uninitialized API key.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。