Skip to content

Commit 4ab499b

Browse files
committed
#16 removed guzzle resolver on get request
1 parent 905d3b4 commit 4ab499b

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "skn036/laravel-gmail-api",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "Wrapper around gmail api for laravel.",
55
"keywords": [
66
"Muhammad Sajedul Karim",

src/Label/GmailLabelResponse.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,7 @@ public function list(array $optParams = [])
7070
*/
7171
public function get(string $labelId, array $optParams = [])
7272
{
73-
$responseOrRequest = $this->service->users_labels->get('me', $labelId, $optParams);
74-
$label = $this->executeRequest(
75-
$responseOrRequest,
76-
$this->client,
77-
'Google_Service_Gmail_Label'
78-
);
79-
73+
$label = $this->service->users_labels->get('me', $labelId, $optParams);
8074
return new GmailLabel($label);
8175
}
8276

0 commit comments

Comments
 (0)