Skip to content

Commit

Permalink
Update UpdateEntryImage signature
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBeekman committed Jan 29, 2024
1 parent 78b96de commit cea8c1b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ private async Task ExecuteSaveChanges(CancellationToken cancellationToken)
// Update existing images
else if (imageViewModel.HasChanges && imageViewModel.Id != null)
{
if (imageViewModel.Name != null && imageViewModel.Description != null)
if (imageViewModel.Name != null)
await _client.UpdateEntryImage.ExecuteAsync(imageViewModel.Id.Value, imageViewModel.Name, imageViewModel.Description, cancellationToken);
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mutation UpdateEntryImage ($id: UUID! $name: String! $description: String!) {
mutation UpdateEntryImage ($id: UUID! $name: String! $description: String) {
updateEntryImage(input: {id: $id, name: $name description: $description}) {
id
}
Expand Down
8 changes: 4 additions & 4 deletions src/Artemis.WebClient.Workshop/WorkshopConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ namespace Artemis.WebClient.Workshop;

public static class WorkshopConstants
{
public const string AUTHORITY_URL = "https://localhost:5001";
public const string WORKSHOP_URL = "https://localhost:7281";
// public const string AUTHORITY_URL = "https://identity.artemis-rgb.com";
// public const string WORKSHOP_URL = "https://workshop.artemis-rgb.com";
// public const string AUTHORITY_URL = "https://localhost:5001";
// public const string WORKSHOP_URL = "https://localhost:7281";
public const string AUTHORITY_URL = "https://identity.artemis-rgb.com";
public const string WORKSHOP_URL = "https://workshop.artemis-rgb.com";
public const string WORKSHOP_CLIENT_NAME = "WorkshopApiClient";
}
2 changes: 1 addition & 1 deletion src/Artemis.WebClient.Workshop/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ input TagFilterInput {
}

input UpdateEntryImageInput {
description: String!
description: String
id: UUID!
name: String!
}
Expand Down

0 comments on commit cea8c1b

Please sign in to comment.