Skip to content

Commit

Permalink
Delete generate
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Duncalf committed Sep 27, 2022
1 parent b48fdf6 commit 963fcdc
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions example/app/models/Task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,4 @@ export class Task extends Realm.Object<Task> {
constructor(realm: Realm, description: string, userId?: string) {
super(realm, {description, userId: userId || '_SYNC_DISABLED_'});
}

// static generate(description: string, userId?: string) {
// return {
// _id: new Realm.BSON.ObjectId(),
// description,
// isComplete: false,
// createdAt: new Date(),
// userId: userId || '_SYNC_DISABLED_',
// };
// }
}

0 comments on commit 963fcdc

Please sign in to comment.