Skip to content

Commit

Permalink
Fix Unknown command error when disabling offers on CLN. ([Ride-The-…
Browse files Browse the repository at this point in the history
  • Loading branch information
s373nZ committed Oct 15, 2024
1 parent 6027167 commit 91ad075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/controllers/cln/offers.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const disableOffer = (req, res, next) => {
if (options.error) {
return res.status(options.statusCode).json({ message: options.message, error: options.error });
}
options.url = req.session.selectedNode.settings.lnServerUrl + '/v1/disableOffer';
options.url = req.session.selectedNode.settings.lnServerUrl + '/v1/disableoffer';
options.body = req.body;
request.post(options).then((body) => {
logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Offers', msg: 'Offer Disabled', data: body });
Expand Down

0 comments on commit 91ad075

Please sign in to comment.