N
NNTmux•7d ago
PyRowMan

PyRowMan - Hey guys , I've just installed NN...

Hey guys , I've just installed NNTmux and I see some errors when updating releases in Tmux (cf joined file) I've added a little debug on $release to see what's going on. It seems that the release doesn't have any id. Should I give him a random id ?
No description
3 Replies
PyRowMan
PyRowManOP•7d ago
Here is the error
No description
PyRowMan
PyRowManOP•7d ago
I replaced
if (config('nntmux.elasticsearch_enabled') === true) {
$this->elasticsearch->updateRelease($release->_releases_id);
} else {
$this->manticore->updateRelease($release->releases_id);
}
if (config('nntmux.elasticsearch_enabled') === true) {
$this->elasticsearch->updateRelease($release->_releases_id);
} else {
$this->manticore->updateRelease($release->releases_id);
}
By
if (config('nntmux.elasticsearch_enabled') === true) {
$this->elasticsearch->updateRelease($release->releases_id);
} else {
$this->manticore->updateRelease($release->releases_id);
}
if (config('nntmux.elasticsearch_enabled') === true) {
$this->elasticsearch->updateRelease($release->releases_id);
} else {
$this->manticore->updateRelease($release->releases_id);
}
DariusIII
DariusIII•7d ago
I have merged your fix, that looks like a typo 🙂
Want results from more Discord servers?
Add your server