---
title: "Discussion on \"The Exchange Rate Was Hiding in an Environment Variable\" | Hashnode"
description: "Discussion on \"The Exchange Rate Was Hiding in an Environment Variable\". Every time I wanted to change an FX rate I had to edit a file on the server and restart the app. So I moved rates and markup into a live admin API, and then audited it hard enough to find the bug that quietly undid the whole thing."
url: "https://hashnode.com/posts/fx-rates-as-live-admin-config/6a5365631bb35bd68bedd1c4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Exchange Rate Was Hiding in an Environment Variable](https://notes.sohag.pro/fx-rates-as-live-admin-config?utm_source=hashnode&utm_medium=feed)

Every time I wanted to change an FX rate I had to edit a file on the server and restart the app. So I moved rates and markup into a live admin API, and then audited it hard enough to find the bug that quietly undid the whole thing.

Jul 12 · 9 min read · notes.sohag.pro  
Read the article

-   [#go](https://hashnode.com/tag/go)
-   [#golang](https://hashnode.com/tag/golang)
-   [#fintech](https://hashnode.com/tag/fintech)
-   [#fx](https://hashnode.com/tag/fx)
-   [#postgres](https://hashnode.com/tag/postgres)

## Written by

[Sohag Hasan](https://hashnode.com/@sohag)

@sohag · Dhaka, Bangladesh

  
[View profile](https://hashnode.com/@sohag)

Tech Lead at MobyPay | Certified Laravel Developer | PHP JS GO | DevOps Enthusiast | Open to projects

WhoAmI =&gt; notes.sohag.pro/author

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
