diff --git a/src/graphql_schema/entities/resolvers/photo.py b/src/graphql_schema/entities/resolvers/photo.py index 7991d2c..af20dbe 100644 --- a/src/graphql_schema/entities/resolvers/photo.py +++ b/src/graphql_schema/entities/resolvers/photo.py @@ -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 diff --git a/src/graphql_schema/entities/types/types.py b/src/graphql_schema/entities/types/types.py index 7a5bd2e..866f8b0 100644 --- a/src/graphql_schema/entities/types/types.py +++ b/src/graphql_schema/entities/types/types.py @@ -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)