Fix on the inserting of images.

This commit is contained in:
Sébastien André
2020-05-27 14:15:38 +02:00
parent 2754a9229b
commit bb55612812
7 changed files with 7 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ namespace skydiveLogs_api.Data
BsonMapper.Global.Entity<Jump>().DbRef(x => x.DropZone, "DropZone");
BsonMapper.Global.Entity<Jump>().DbRef(x => x.Gear, "Gear");
BsonMapper.Global.Entity<Image>().DbRef(x => x.UserId, "User");
BsonMapper.Global.Entity<Image>().DbRef(x => x.User, "User");
}
public ILiteCollection<T> GetCollection<T>()