Skip to content

Commit

Permalink
Add setup Java step
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisaruGuruge committed Sep 19, 2023
1 parent a75f176 commit fbd2654
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/drafts/update_draft.bal
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function main() returns error? {
contentType: gmail:TEXT_PLAIN
};

string testAttachmentPath = "../resources/test_document.txt";
string testAttachmentPath = "../examples/resources/test_document.txt";
string attachmentContentType = "text/plain";

gmail:AttachmentPath[] attachments = [{attachmentPath: testAttachmentPath, mimeType: attachmentContentType}];
Expand Down
2 changes: 1 addition & 1 deletion examples/messages/send_html_message.bal
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function main() returns error? {

string inlineImagePath = "../resources/test_image.png";
string imageContentType = "image/png";
string testAttachmentPath = "../resources/test_document.txt";
string testAttachmentPath = "../examples/resources/test_document.txt";
string attachmentContentType = "text/plain";

// Set Inline Images if exists
Expand Down
2 changes: 1 addition & 1 deletion examples/messages/send_text_message.bal
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function main() returns error? {
contentType: gmail:TEXT_PLAIN
};

string testAttachmentPath = "../resources/test_document.txt";
string testAttachmentPath = "../examples/resources/test_document.txt";
string attachmentContentType = "text/plain";

// Set Attachments if exists
Expand Down

0 comments on commit fbd2654

Please sign in to comment.