Skip to content

Commit 4deb423

Browse files
committed
Github:14214 (Office365.category.list() is now conform to the specs)
1 parent b31acee commit 4deb423

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Project/Sources/Classes/Office365.4dm

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ Function get calendar : cs.Office365Calendar
4242
// ----------------------------------------------------
4343

4444

45-
Function categories : cs.GraphCategoryList
45+
Function category : cs.Office365Category
4646

47-
var $categoryListBuilder : cs._GraphCategoryListBuilder:=cs._GraphCategoryListBuilder.new(This._internals._oAuth2Provider; This._internals._parameters)
48-
return $categoryListBuilder.categories()
47+
If (This._internals._category=Null)
48+
This._internals._category:=cs.Office365Category.new(This._internals._oAuth2Provider; This._internals._parameters)
49+
End if
50+
return This._internals._category

Project/Sources/Classes/_GraphCategoryListBuilder.4dm renamed to Project/Sources/Classes/Office365Category.4dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Class constructor($inProvider : cs.OAuth2Provider; $inParameters : Object)
1313
// ----------------------------------------------------
1414

1515

16-
Function categories : cs.GraphCategoryList
16+
Function list : cs.GraphCategoryList
1717

1818
/*
1919
GET /me/outlook/masterCategories

Project/Sources/folders.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"_GoogleBatchRequest",
2727
"_GraphAPI",
2828
"_GraphBaseList",
29-
"_GraphCategoryListBuilder",
3029
"_JWT"
3130
]
3231
},
@@ -69,6 +68,7 @@
6968
"OAuth2Token",
7069
"Office365",
7170
"Office365Calendar",
71+
"Office365Category",
7272
"Office365Mail",
7373
"Office365User",
7474
"Tools"

0 commit comments

Comments
 (0)