Skip to content

Commit

Permalink
fix(ux): change error string to indicate the correct missing field na…
Browse files Browse the repository at this point in the history
…me (textileio#330)

Signed-off-by: andrew <[email protected]>
  • Loading branch information
andrewxhill committed May 1, 2020
1 parent 87df70f commit ef1b33c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var (
log = logging.Logger("db")

// ErrInvalidCollectionSchema indicates the provided schema isn't valid for a Collection.
ErrInvalidCollectionSchema = errors.New("the collection schema should specify an ID string property")
ErrInvalidCollectionSchema = errors.New("the collection schema should specify an _id string property")

dsDBPrefix = ds.NewKey("/db")
dsDBSchemas = dsDBPrefix.ChildString("schema")
Expand Down

0 comments on commit ef1b33c

Please sign in to comment.