[go: up one dir, main page]

Skip to content

Commit

Permalink
fix: not being able to delete schema (#180) (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
universlabs authored and birkir committed May 8, 2019
1 parent ac04a61 commit 925704c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class SchemaResolver {
await this.documentRepository.update(
{ schemaId: id },
{
deletedAt: Date.now(),
deletedAt: new Date(),
}
);
await this.schemaRepository.remove(schema);
Expand Down

0 comments on commit 925704c

Please sign in to comment.