From c4196518e29e10b3376798d5b3644b56de9d0b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20J=C3=B8rgen=20Skogstad?= Date: Thu, 10 Oct 2024 10:37:57 +0200 Subject: [PATCH] fix --- docs/schema/V1/schema.verified.graphql | 3 ++- .../EndUser/DialogById/ObjectTypes.cs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/schema/V1/schema.verified.graphql b/docs/schema/V1/schema.verified.graphql index 639250eac..c027f6581 100644 --- a/docs/schema/V1/schema.verified.graphql +++ b/docs/schema/V1/schema.verified.graphql @@ -62,6 +62,7 @@ type Attachment { type AttachmentUrl { id: UUID! url: URL! + mediaType: String consumerType: AttachmentUrlConsumer! } @@ -393,4 +394,4 @@ scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time" scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986") -scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122") \ No newline at end of file +scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122") diff --git a/src/Digdir.Domain.Dialogporten.GraphQL/EndUser/DialogById/ObjectTypes.cs b/src/Digdir.Domain.Dialogporten.GraphQL/EndUser/DialogById/ObjectTypes.cs index 28492f70a..0bf178467 100644 --- a/src/Digdir.Domain.Dialogporten.GraphQL/EndUser/DialogById/ObjectTypes.cs +++ b/src/Digdir.Domain.Dialogporten.GraphQL/EndUser/DialogById/ObjectTypes.cs @@ -194,6 +194,7 @@ public sealed class AttachmentUrl { public Guid Id { get; set; } public Uri Url { get; set; } = null!; + public string? MediaType { get; set; } public AttachmentUrlConsumer ConsumerType { get; set; } }