diff --git a/app/gql/fragments/campaign/materials.graphql b/app/gql/fragments/campaign/portal.graphql similarity index 88% rename from app/gql/fragments/campaign/materials.graphql rename to app/gql/fragments/campaign/portal.graphql index 7fc845db..ef4e36a8 100644 --- a/app/gql/fragments/campaign/materials.graphql +++ b/app/gql/fragments/campaign/portal.graphql @@ -1,10 +1,11 @@ #import 'fortnight/gql/fragments/campaign-creative' -fragment CampaignMaterialsFragment on Campaign { +fragment CampaignPortalFragment on Campaign { id name description status + hash url criteria { start diff --git a/app/gql/queries/campaign/hash.graphql b/app/gql/queries/campaign/hash.graphql index cfcd06c0..aa7bd9ed 100644 --- a/app/gql/queries/campaign/hash.graphql +++ b/app/gql/queries/campaign/hash.graphql @@ -1,7 +1,7 @@ -#import 'fortnight/gql/fragments/campaign/materials' +#import 'fortnight/gql/fragments/campaign/portal' -query CampaignHash($input: CampaignHashInput!) { +query CampaignPortal($input: CampaignHashInput!) { campaignHash(input: $input) { - ...CampaignMaterialsFragment + ...CampaignPortalFragment } } diff --git a/package.json b/package.json index 6d9dbaf0..2b560f1d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fortnight", - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.1.1", "private": true, "description": "Small description for fortnight goes here", "license": "MIT",