fix: query
This commit is contained in:
parent
e33c46dad2
commit
66468389c6
4 changed files with 5 additions and 5 deletions
|
@ -55,7 +55,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') {
|
||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "14.0.5",
|
||||
"version": "14.0.6",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "coryd.dev",
|
||||
"version": "14.0.5",
|
||||
"version": "14.0.6",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@cdransf/api-text": "^1.2.2",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "14.0.5",
|
||||
"version": "14.0.6",
|
||||
"description": "The source for my personal site. Built using 11ty.",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
|
|
@ -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