Skip to content

Commit 9ec89e1

Browse files
author
chetanr25
committed
changed variable name as suggested
1 parent d2f475b commit 9ec89e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/open_prices_api_client.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ class OpenPricesAPIClient {
6565
);
6666

6767
static Future<MaybeError<PriceUser>> getUserProfile(
68-
final String userId,
68+
final String username,
6969
) async {
7070
final Uri uri = OpenPricesAPIClient.getUri(
71-
path: '/api/v1/users/$userId',
71+
path: '/api/v1/users/$username',
7272
);
7373

7474
final http.Response response =

0 commit comments

Comments
 (0)