1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-12 13:28:33 +00:00

Update UpdateEntryImage signature

This commit is contained in:
RobertBeekman 2024-01-29 22:03:41 +01:00
parent 78b96deeab
commit cea8c1b796
4 changed files with 7 additions and 7 deletions

View File

@ -228,7 +228,7 @@ public partial class SubmissionDetailViewModel : RoutableScreen<WorkshopDetailPa
// 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);
}
}

View File

@ -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
}

View File

@ -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";
}

View File

@ -426,7 +426,7 @@ input TagFilterInput {
}
input UpdateEntryImageInput {
description: String!
description: String
id: UUID!
name: String!
}