diff options
author | 2018-02-26 16:43:57 +0100 | |
---|---|---|
committer | 2018-02-26 16:43:57 +0100 | |
commit | d1e6f03395b4d2b668a8da6260aca8adf823f1db (patch) | |
tree | 7153ce10c48f1ba6453999bca8e4ba8a8aa410eb /src/api/FeaturesApi.js | |
parent | initial commit (diff) | |
download | ferdium-app-d1e6f03395b4d2b668a8da6260aca8adf823f1db.tar.gz ferdium-app-d1e6f03395b4d2b668a8da6260aca8adf823f1db.tar.zst ferdium-app-d1e6f03395b4d2b668a8da6260aca8adf823f1db.zip |
ADD `features` request
REFACTOR `defaults` -> `base`
Diffstat (limited to 'src/api/FeaturesApi.js')
-rw-r--r-- | src/api/FeaturesApi.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/api/FeaturesApi.js b/src/api/FeaturesApi.js index 5749ab336..292dc80cc 100644 --- a/src/api/FeaturesApi.js +++ b/src/api/FeaturesApi.js | |||
@@ -3,7 +3,11 @@ export default class FeaturesApi { | |||
3 | this.server = server; | 3 | this.server = server; |
4 | } | 4 | } |
5 | 5 | ||
6 | defaults() { | 6 | base() { |
7 | return this.server.getDefaultFeatures(); | 7 | return this.server.getBaseFeatures(); |
8 | } | ||
9 | |||
10 | features() { | ||
11 | return this.server.getFeatures(); | ||
8 | } | 12 | } |
9 | } | 13 | } |