Skip to content

Commit

Permalink
Fix Book interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Raffone17 committed Nov 17, 2021
1 parent 6600d65 commit 2a1960a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/interfaces/models/IBook.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { ObjectID } from "bson";
import { IModel } from "./IModel";

export interface IBook {
_id: string;
title: string;
authors: string[];
authors: string[] | ObjectID[];
genres: string[];
location: string;
owner: string;
Expand Down

0 comments on commit 2a1960a

Please sign in to comment.