Skip to content

Commit e60d379

Browse files
committed
Altered configuration
1 parent 0ab5739 commit e60d379

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

fauxton.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,5 @@
77
"local": "",
88
"cloudant": ""
99
},
10-
"console": {
11-
"search": {
12-
"limit": 25,
13-
"skip": 0
14-
},
15-
"alldocs": {
16-
"include_docs": "true",
17-
"limit": 25,
18-
"skip": 0
19-
}
20-
},
2110
"local": true
2211
}

src/Http/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function _fetch($loop, string $method, ...$opts) : Promise
4141
const _credentials = 'Chemem\\Fauxton\\Http\\_credentials';
4242
function _credentials(string $config) : array
4343
{
44-
$let = PM\letIn(array('username', 'password', '_', 'local'), json_decode($config, true));
44+
$let = PM\letIn(array('username', 'password', 'local'), json_decode($config, true));
4545

4646
return $let(array('username', 'password', 'local'), function (array $username, array $password, bool $local) {
4747
$credentials = A\curry(A\pluck);

0 commit comments

Comments
 (0)