Point frontend API base URL at test and restore currency path fields.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -243,7 +243,8 @@ func (r repository) GetCurrency(ctx context.Context) (users.CurrencyDTO, error)
|
||||
|
||||
q := ` SELECT
|
||||
id, title,
|
||||
content_tm, content_ru, content_en
|
||||
content_tm, content_ru, content_en,
|
||||
path, created_at
|
||||
FROM currency
|
||||
ORDER BY created_at DESC
|
||||
LIMIT 1;`
|
||||
@@ -251,6 +252,7 @@ func (r repository) GetCurrency(ctx context.Context) (users.CurrencyDTO, error)
|
||||
err := r.client.QueryRow(ctx, q).Scan(
|
||||
&cu.Id, &cu.Title,
|
||||
&cu.Content.Tm, &cu.Content.Ru, &cu.Content.En,
|
||||
&cu.Path, &cu.CreatedAt,
|
||||
)
|
||||
if err != nil {
|
||||
return cu, err
|
||||
|
||||
@@ -26,7 +26,7 @@ function removeByClassName(className) {
|
||||
}
|
||||
|
||||
function baseUrl() {
|
||||
return 'http://216.250.10.141';
|
||||
return 'https://test.webulgam.com';
|
||||
}
|
||||
|
||||
function getData(url = '') {
|
||||
|
||||
Reference in New Issue
Block a user