add siteName in api response in web

This commit is contained in:
Hongbo Wu
2022-07-13 11:03:33 +08:00
parent cb1d64cd82
commit b6826a8821

View File

@ -18,6 +18,7 @@ export type SearchItem = {
id: string
title: string
slug: string
siteName?: string
}
export async function typeaheadSearchQuery({
@ -32,6 +33,7 @@ export async function typeaheadSearchQuery({
id
title
slug
siteName
}
}
... on TypeaheadSearchError {