This commit is contained in:
Michal Kváček
2023-11-09 06:17:01 +01:00
parent bd5b84c9e7
commit 19c1ff1846
2 changed files with 3 additions and 3 deletions
@@ -115,8 +115,8 @@ class PhotoMutationResolver(BaseMutationResolver):
photo = await self._get_photo_details(id, user_id)
degrees_map = {
"clockwise": -90,
"counterClockwise": 90
"clockwise": 90,
"counterClockwise": -90
}
# rotate original
+1 -1
View File
@@ -148,7 +148,7 @@ class Copilot:
async def resolve_flights(root, info):
dataloader = public_flights_by_copilot_dataloader
if info.context.user_id:
dataloader = flights_by_event_dataloader
dataloader = flights_by_copilot_dataloader
return await dataloader.load(root.id)