The GetChannelRewards, CreateChannelReward, UpdateChannelReward, DeleteChannelReward functions do not mirror the password behaviour of eventSubConnectAsync or pubsubConnect which can cause unauthorized login errors.
It looks like oauth: might not be required on the password at all? The only reference I can see to it is on the README for .env: https://github.com/instafluff/ComfyJS?tab=readme-ov-file#sending-chat-messages
Refs:
pubsubConnect:
|
password = password.replace( "oauth:", "" ); |
eventSubConnectAsync:
|
password = password.replace( "oauth:", "" ); |
I'll provide a pull request to mirror this behaviour, but if oauth: prefix isn't required, it might be better to remove reference in the README as well.
The
GetChannelRewards,CreateChannelReward,UpdateChannelReward,DeleteChannelRewardfunctions do not mirror the password behaviour ofeventSubConnectAsyncorpubsubConnectwhich can cause unauthorized login errors.It looks like
oauth:might not be required on the password at all? The only reference I can see to it is on the README for.env: https://github.com/instafluff/ComfyJS?tab=readme-ov-file#sending-chat-messagesRefs:
pubsubConnect:ComfyJS/app.js
Line 663 in 83a623c
eventSubConnectAsync:ComfyJS/app.js
Line 218 in 83a623c
I'll provide a pull request to mirror this behaviour, but if
oauth:prefix isn't required, it might be better to remove reference in the README as well.