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 (#330)

Signed-off-by: andrew <andrew@textile.io>
  • Loading branch information
andrewxhill authored 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.