2 years ago
Hi, I recently made some changes to my server code—very simple ones, where I just wanted to remove $30 from some prices.
I tested everything on localhost to make sure it worked. Honestly, I don’t see how it could go wrong. I pushed the code, and Railway redeployed using the correct branch, with the correct commit message showing up. However, I’m still getting the old price when I send requests to the Railway server. I even tried hardcoding the new price instead of applying a discount, but I still get the old $180 instead of the desired $150. It's strange because the $180 price doesn’t even exist in the code anymore.
I’ve added the $180 price back with the discount applied, just as it was before, and I'll wait to see if it just needs some time to take effect. If this persists, does anyone have any ideas on how to fix it?
6 Replies
2 years ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • over 1 year ago
2 years ago
doesn’t seem to be the cache. Still happens eve for new users. Any other ways to fix it ?
2 years ago
Railway does not provide any kind of cache in this regard.
This would be an application level issue, or perhaps you are even commiting to the wrong repo / branch.
2 years ago
The commit was sent to the correct repo and branch. As I can go to it from clicking on the linked repo to my server in Railway. It is merged to the master branch. I can attach some photos later
2 years ago
correct branch and repo. Code works just fine when tested on localhost. And it gave out an output that wasn't possible if the code had been update since I tried removing the old price ($180) and manually writing down a price of ($150) still, no effect. None of the new console logs are showing up in the logs either :/
Attachments
2 years ago
At this point, it's safe to say that this is not a platform issue but an application-level issue.
I wish I just knew what it was so I could tell you, but unfortunately, I don't and we are not able to provide application-level support.
Sorry I couldn't be of more help but I wish you all the best debugging your issue!
Status changed to Closed brody • over 1 year ago
