Skip to content

Commit 9c8d0da

Browse files
committed
Change project name
1 parent d811b86 commit 9c8d0da

File tree

2 files changed

+46
-44
lines changed

2 files changed

+46
-44
lines changed

composer.json

Lines changed: 45 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,48 @@
11
{
2-
"name": "freshmail/rest-api",
3-
"description": "A php library which implements the functionality of FreshMail REST API.",
4-
"keywords": ["freshmail", "rest"],
5-
"type": "library",
6-
"license": "GPL-3.0",
7-
"authors": [
8-
{
9-
"name": "Tadeusz Kania",
10-
"email": "[email protected]",
11-
"homepage": "https://freshmail.pl",
12-
"role": "Developer"
13-
},
14-
{
15-
"name": "Piotr Suszalski",
16-
"email": "[email protected]",
17-
"homepage": "https://freshmail.pl",
18-
"role": "Developer"
19-
},
20-
{
21-
"name": "Grzegorz Gorczyca",
22-
"email": "[email protected]",
23-
"homepage": "https://freshmail.pl",
24-
"role": "Developer"
25-
},
26-
{
27-
"name": "Piotr Leżoń",
28-
"email": "[email protected]",
29-
"homepage": "https://freshmail.pl",
30-
"role": "Developer"
31-
}
32-
],
33-
"require": {
34-
"php": ">=7.0",
35-
"ext-curl": "*",
36-
"ext-json": "*",
37-
"psr/log": "^1.1",
38-
"monolog/monolog": "^1.25",
39-
"guzzlehttp/guzzle": "^6.5"
2+
"name": "katalysteducation/rest-api",
3+
"description": "A php library which implements the functionality of FreshMail REST API.",
4+
"keywords": [
5+
"freshmail",
6+
"rest"
7+
],
8+
"type": "library",
9+
"license": "GPL-3.0",
10+
"authors": [{
11+
"name": "Tadeusz Kania",
12+
"email": "[email protected]",
13+
"homepage": "https://freshmail.pl",
14+
"role": "Developer"
4015
},
41-
"autoload": {
42-
"psr-4": {
43-
"FreshMail\\ApiV2\\": "src/FreshMail/"
44-
}
16+
{
17+
"name": "Piotr Suszalski",
18+
"email": "[email protected]",
19+
"homepage": "https://freshmail.pl",
20+
"role": "Developer"
21+
},
22+
{
23+
"name": "Grzegorz Gorczyca",
24+
"email": "[email protected]",
25+
"homepage": "https://freshmail.pl",
26+
"role": "Developer"
27+
},
28+
{
29+
"name": "Piotr Leżoń",
30+
"email": "[email protected]",
31+
"homepage": "https://freshmail.pl",
32+
"role": "Developer"
33+
}
34+
],
35+
"require": {
36+
"php": ">=7.0",
37+
"ext-curl": "*",
38+
"ext-json": "*",
39+
"psr/log": "^1.1",
40+
"monolog/monolog": "^1.25",
41+
"guzzlehttp/guzzle": "^6.5"
42+
},
43+
"autoload": {
44+
"psr-4": {
45+
"FreshMail\\ApiV2\\": "src/FreshMail/"
4546
}
46-
}
47+
}
48+
}

src/FreshMail/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function doRequest(string $uri, array $params = [])
8888
if ($exception->getCode() == 401) {
8989
throw new UnauthorizedException('Request unauthorized');
9090
}
91-
91+
9292
$jsonError = $this->parseErrorMessage($exception->getMessage());
9393

9494
if (array_key_exists(intval($jsonError->errors[0]->code), $this->messages)) {

0 commit comments

Comments
 (0)