From ae397a57c0bd752dd216615c6334f8e9096a3049 Mon Sep 17 00:00:00 2001 From: Sale Djenic Date: Thu, 6 Apr 2023 13:52:49 +0200 Subject: [PATCH] chore(@desktop/general): currency and cache dto don't need to be references of object --- src/app_service/common/cache.nim | 2 +- src/app_service/service/currency/dto.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app_service/common/cache.nim b/src/app_service/common/cache.nim index c1e088510d..5220b6eb6d 100644 --- a/src/app_service/common/cache.nim +++ b/src/app_service/common/cache.nim @@ -3,7 +3,7 @@ import tables, times export tables, times -type Value*[T] = ref object +type Value*[T] = object value*: T timestamp*: DateTime diff --git a/src/app_service/service/currency/dto.nim b/src/app_service/service/currency/dto.nim index c7eaf765e1..7e66ad29f1 100644 --- a/src/app_service/service/currency/dto.nim +++ b/src/app_service/service/currency/dto.nim @@ -2,7 +2,7 @@ import json include ../../common/json_utils type - CurrencyFormatDto* = ref object + CurrencyFormatDto* = object symbol*: string displayDecimals*: uint stripTrailingZeroes*: bool