diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-02-14 15:06:06 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-05 12:26:12 +0200 |
| commit | ab0505d8eee495df3311194ead5a84ec78131025 (patch) | |
| tree | 3c947f226d6dd94af71e3a4df7c436409ca278ef /exports | |
| parent | 0f5ae9a05b71545f34acde15f50536ff80da4ac0 (diff) | |
Go: Properly expose getting server list
Signed-off-by: jwijenbergh <jeroenwijenbergh@protonmail.com>
Diffstat (limited to 'exports')
| -rw-r--r-- | exports/exports.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exports/exports.go b/exports/exports.go index 9f2d83a..3efc820 100644 --- a/exports/exports.go +++ b/exports/exports.go @@ -24,7 +24,7 @@ func GetOrganizationsList() (*C.char, int8) { // Returns the json data as a string and an error code. This is used as key for looking up data. //export GetServersList func GetServersList() (*C.char, int8) { - body, err := eduvpn.GetOrganizationsList() + body, err := eduvpn.GetServersList() if err != nil { return nil, int8(err.(eduvpn.RequestError).Code) } |
