fix: query
This commit is contained in:
parent
e33c46dad2
commit
66468389c6
4 changed files with 5 additions and 5 deletions
|
@ -92,7 +92,7 @@ export default async (request) => {
|
|||
const { data: artistData, error: artistError } = await supabase
|
||||
.from('artists')
|
||||
.select('*')
|
||||
.eq('key', artistKey)
|
||||
.eq('name_key', artistKey)
|
||||
.single()
|
||||
|
||||
if (artistError && artistError.code === 'PGRST116') {
|
||||
|
|
Reference in a new issue