Skip to content

Commit 5393a79

Browse files
[N/A] - Updated readme file.
1 parent 01673d8 commit 5393a79

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The complete source code is available at [GitHub Repository](https://github.com/
4040

4141
## Sample usage via the SDK
4242

43-
The examples below show how your application have to initiate and get a text of the first paragraph using Aspose.Tasks-Cloud library:
43+
The examples below show how your application have to initiate and get assignments from you project file using Aspose.Tasks-Cloud library:
4444

4545
Config.json file:
4646
```csharp
@@ -66,14 +66,14 @@ Go code:
6666
tasksApi.UploadFile(ctx, &requests.UploadFileOpts{
6767
File: file,
6868
Path: "uploaded_sample.mpp",
69-
}))
69+
})
7070
7171
// get assignments from the project file
7272
options := &requests.GetAssignmentsOpts{
7373
Name: "uploaded_sample.mpp",
74-
}
74+
}
7575
76-
result, _, err := tasksApi.GetParagraphs(ctx, remoteName, options)
76+
result, _, err := tasksApi.GetAssignments(ctx, options)
7777
7878
if err != nil {
7979
//error handling

0 commit comments

Comments
 (0)