Exposed comment and meta fields in GraphQL API.

This commit is contained in:
2025-04-04 05:36:47 +02:00
parent 538e6ede5b
commit 0dabbc7233
7 changed files with 53 additions and 2 deletions

View File

@@ -46,6 +46,8 @@ function curateAlert(alert, context = {}) {
slug: stash.stash_slug,
isPrimary: stash.stash_primary,
})) || [],
comment: alert.comment,
meta: alert.meta,
};
}
@@ -152,6 +154,8 @@ export async function createAlert(alert, reqUser) {
all_tags: alert.allTags,
all_matches: alert.allMatches,
from_preset: alert.preset,
comment: alert.comment,
meta: alert.meta,
})
.returning('id');