mirror of
https://github.com/vale981/grapher
synced 2025-03-04 17:11:38 -05:00
Fixed #310 modified index so it no longer fails if null, made it sparse: true
This commit is contained in:
parent
b55be7045e
commit
cccdb0a37f
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ export default class Linker {
|
|||
{
|
||||
[field]: 1,
|
||||
},
|
||||
{ unique: true }
|
||||
{ unique: true, sparse: true }
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue