Skip to content

Commit

Permalink
Added pre-toggle log to toggle.proxyMode() ↞ [auto-sync from `adaml…
Browse files Browse the repository at this point in the history
…ui/chatgpt-apps/amazongpt`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Sep 24, 2024
1 parent d8e35fb commit 225edb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chatgpt/amazongpt/amazongpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @description Adds the magic of AI to Amazon shopping
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.9.24
// @version 2024.9.24.1
// @license MIT
// @icon https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon48.png?v=0fddfc7
// @icon64 https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon64.png?v=0fddfc7
Expand Down Expand Up @@ -2219,6 +2219,7 @@

proxyMode() {
log.caller = 'toggle.proxyMode()'
log.debug(`Toggling Proxy Mode ${ config.proxyAPIenabled ? 'OFF' : 'ON' }...`)
settings.save('proxyAPIenabled', !config.proxyAPIenabled)
notify(( app.msgs.menuLabel_proxyAPImode ) + ' ' + menu.state.words[+config.proxyAPIenabled])
menu.refresh()
Expand Down

0 comments on commit 225edb5

Please sign in to comment.