Skip to content

Commit da17933

Browse files
authored
Update todo endpoint (#803)
1 parent daaedab commit da17933

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/mgt-components/src/components/mgt-todo/graph.todo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* -------------------------------------------------------------------------------------------
66
*/
77

8-
import { DateTimeTimeZone, ItemBody, PatternedRecurrence } from '@microsoft/microsoft-graph-types-beta';
8+
import { DateTimeTimeZone, ItemBody, PatternedRecurrence } from '@microsoft/microsoft-graph-types';
99
import { IGraph, prepScopes } from '@microsoft/mgt-element';
1010

1111
// tslint:disable

packages/mgt-components/src/components/mgt-todo/mgt-todo.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { customElement, html, TemplateResult } from 'lit-element';
99
import { classMap } from 'lit-html/directives/class-map';
1010
import { repeat } from 'lit-html/directives/repeat';
1111
import { IGraph } from '@microsoft/mgt-element';
12-
import { Providers, ProviderState, BetaGraph } from '@microsoft/mgt-element';
12+
import { Providers, ProviderState } from '@microsoft/mgt-element';
1313
import { getShortDateString } from '../../utils/Utils';
1414
import '../mgt-person/mgt-person';
1515
import { MgtTasksBase } from '../mgt-tasks-base/mgt-tasks-base';
@@ -363,8 +363,7 @@ export class MgtTodo extends MgtTasksBase {
363363

364364
if (!this._graph) {
365365
const graph = provider.graph.forComponent(this);
366-
const betaGraph = BetaGraph.fromGraph(graph);
367-
this._graph = betaGraph;
366+
this._graph = graph;
368367
}
369368

370369
let lists = this._lists;

0 commit comments

Comments
 (0)