Skip to content

Commit

Permalink
Revert "Revert "Fix merge GitHub #3365""
Browse files Browse the repository at this point in the history
This reverts commit 5f02dab.
  • Loading branch information
yannicktrinh committed Jan 10, 2024
1 parent e467347 commit e1d6805
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions Project/Sources/Classes/GoogleMail.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -117,24 +117,6 @@ Function send($inMail : Variant) : Object
// ----------------------------------------------------


Function getLabelList() : Object

var $URL; $userId : Text
var $response : Object

Super._clearErrorStack()
$URL:=Super._getURL()
$userId:=(Length(String(This.userId))>0) ? This.userId : "me"
$URL+="users/"+$userId+"/labels"

$response:=Super._sendRequestAndWaitResponse("GET"; $URL)

return This._returnStatus(OB Copy($response))


// ----------------------------------------------------


Function delete($inMailId : Text; $permanently : Boolean) : Object

Super._throwErrors(False)
Expand Down Expand Up @@ -390,6 +372,7 @@ Function getLabelList() : Object
var $URL; $userId : Text
var $response : Object

Super._clearErrorStack()
$URL:=Super._getURL()
$userId:=(Length(String(This.userId))>0) ? This.userId : "me"
$URL+="users/"+$userId+"/labels"
Expand Down

0 comments on commit e1d6805

Please sign in to comment.