fix: query

This commit is contained in:
Cory Dransfeldt 2024-05-08 12:48:58 -07:00
parent e33c46dad2
commit 66468389c6
No known key found for this signature in database
4 changed files with 5 additions and 5 deletions

View file

@ -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') {