Fix faces not getting scanned

- This fixes #344
- Add integration tests for face recognition
- Properly check that the user own the queried album
This commit is contained in:
viktorstrate
2021-04-26 12:21:15 +02:00
parent d03923992c
commit 1029b61a4c
14 changed files with 126 additions and 92 deletions

View File

@@ -36,6 +36,8 @@ models:
resolver: true
faces:
resolver: true
mediaType:
resolver: true
MediaURL:
model: github.com/photoview/photoview/api/graphql/models.MediaURL
MediaEXIF:
@@ -60,3 +62,5 @@ models:
model: github.com/photoview/photoview/api/graphql/models.FaceRectangle
SiteInfo:
model: github.com/photoview/photoview/api/graphql/models.SiteInfo
MediaType:
model: github.com/photoview/photoview/api/graphql/models.MediaType