Skip to content

Commit 7678ee6

Browse files
committed
changing baseUrl to baseURL in ConfigKeys
(cherry picked from commit 0ec06c4)
1 parent 971420d commit 7678ee6

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## [0.1.60] - 21st November, 2018
1+
## [0.1.61] - 21st November, 2018
22

33
* expanding network provider to an abstract classes data provider
44
and 2 implementation classes network and offline

lib/constants.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class ConfigKeys {
2-
static const String BASE_URL = "baseUrl";
2+
static const String BASE_URL = "baseURL";
33
static const String DB_NAME = "dbName";
44
static const String DB_VERSION = "dbVersion";
55
static const String SENTRY_DSN = "sentryDSN";

lib/datainterface/data/offline_provider.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ import 'package:adhara/utils.dart';
2020
class OfflineProvider extends DataProvider {
2121
OfflineProvider(Config config) : super(config);
2222

23-
String get baseURL => this.config.baseURL;
24-
2523
dynamic formatResponse(dynamic data) => data;
2624

2725
dynamic extractResponse(dynamic response) => response;

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: adhara
22
description: Base framework for Flutter Apps with intense networking and data interactivity
3-
version: 0.1.60
3+
version: 0.1.61
44
author: Rohit R. Abbadi <[email protected]>
55
homepage: https://infitio.com
66

0 commit comments

Comments
 (0)