more lint fix

This commit is contained in:
Ulf Gebhardt 2023-04-25 04:05:43 +02:00
parent 5c23815a36
commit 6102ce2fff
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -223,7 +223,7 @@ export default {
},
searchResults: async (_parent, args, context, _resolveInfo) => {
const { query, limit } = args
const userId = context.user?.id || null
const userId = context.user?.id || null
const searchType = query.replace(/^([!@#&]?).*$/, '$1')
const searchString = query.replace(/^([!@#&])/, '')