Exposed comment and meta fields in GraphQL API.
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user