bbdoc / PoracleWeb

Web Interface add-on to PoracleJS
GNU Affero General Public License v3.0
21 stars 33 forks source link

Add the option to synchronize webhooks #123

Closed Astu04 closed 2 years ago

Astu04 commented 2 years ago

This works but I think the line I added to channel_sync.php is too dirty to be pushed to develop. In the POST request from admin_sync.php the webhook url dot gets changed to an underscore. I wrote a line to "fix" it: $target_id=str_replace("_com", ".com", $target_id);. I don't think it's the proper solution but I don't know enough php to fix it properly.