Skip to content

Commit dc0426f

Browse files
committed
Fix build
1 parent 9e2613a commit dc0426f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/v1/system.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace api::v1 {
3636
std::vector<DataMigration> dataMigrations = {};
3737

3838
Task<> SystemController::getLocales(const HttpRequestPtr req, const std::function<void(const HttpResponsePtr &)> callback) const {
39-
constexpr Locale LOCALE_EN{"en", "English", DEFAULT_LOCALE};
39+
static const Locale LOCALE_EN{"en", "English", DEFAULT_LOCALE};
4040

4141
auto locales = co_await global::lang->getAvailableLocales();
4242
std::ranges::sort(locales, [](const Locale &a, const Locale &b) { return a.id < b.id; });

0 commit comments

Comments
 (0)