Skip to content

🐛 Bug Report: currency is always empty #105

Closed
@hadnet

Description

@hadnet

👟 Reproduction steps

I'm using node-appwrite with Next.js:

import {
  Client,
  Account,
  Locale,
} from 'node-appwrite';

//...

const locale = new Locale(client);
const userLocale = await locale.get();

But always got something like this

{"ip":"xxx.xx.xxx.xxx","countryCode":"AR","country":"Argentina","continentCode":"SA","continent":"South America","eu":false,"currency":""}

Why is currency always empty?

👍 Expected behavior

Currency prop not to be an empty string.

👎 Actual Behavior

Currency is always an empty string.

🎲 Appwrite version

Version 0.10.x

💻 Operating system

MacOS

🧱 Your Environment

Next.js

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions