From 203c3a7d0b43bf8710746a16fa4064f228208653 Mon Sep 17 00:00:00 2001 From: bigint Date: Mon, 24 Jun 2024 19:56:15 +0530 Subject: [PATCH] chore: use || --- apps/api/src/routes/frames/post.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/src/routes/frames/post.ts b/apps/api/src/routes/frames/post.ts index 4e8b793d2015..c51e32cfa7dd 100644 --- a/apps/api/src/routes/frames/post.ts +++ b/apps/api/src/routes/frames/post.ts @@ -60,11 +60,11 @@ export const post: Handler = async (req, res) => { const request = { actionResponse: '', buttonIndex, - inputText: inputText ?? '', + inputText: inputText || '', profileId: id, pubId, specVersion: '1.0.0', - state: state ?? '', + state: state || '', url: postUrl };