Bugfixes
This commit is contained in:
@@ -115,8 +115,8 @@ class PhotoMutationResolver(BaseMutationResolver):
|
|||||||
photo = await self._get_photo_details(id, user_id)
|
photo = await self._get_photo_details(id, user_id)
|
||||||
|
|
||||||
degrees_map = {
|
degrees_map = {
|
||||||
"clockwise": -90,
|
"clockwise": 90,
|
||||||
"counterClockwise": 90
|
"counterClockwise": -90
|
||||||
}
|
}
|
||||||
|
|
||||||
# rotate original
|
# rotate original
|
||||||
|
|||||||
@@ -148,7 +148,7 @@ class Copilot:
|
|||||||
async def resolve_flights(root, info):
|
async def resolve_flights(root, info):
|
||||||
dataloader = public_flights_by_copilot_dataloader
|
dataloader = public_flights_by_copilot_dataloader
|
||||||
if info.context.user_id:
|
if info.context.user_id:
|
||||||
dataloader = flights_by_event_dataloader
|
dataloader = flights_by_copilot_dataloader
|
||||||
|
|
||||||
return await dataloader.load(root.id)
|
return await dataloader.load(root.id)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user