Skip to content

Commit b706259

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
fix(instagram): remove stale cover string checks
1 parent 4d105c9 commit b706259

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/sim/app/api/tools/instagram/publish-reel/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const POST = withRouteHandler(async (request: NextRequest) => {
5656
}
5757

5858
let coverUrl: string | undefined
59-
if (body.cover != null && body.cover !== '') {
59+
if (body.cover != null) {
6060
const resolvedCover = await resolveInstagramMedia({
6161
input: body.cover,
6262
userId: authResult.userId,

apps/sim/app/api/tools/instagram/publish-video/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const POST = withRouteHandler(async (request: NextRequest) => {
5656
}
5757

5858
let coverUrl: string | undefined
59-
if (body.cover != null && body.cover !== '') {
59+
if (body.cover != null) {
6060
const resolvedCover = await resolveInstagramMedia({
6161
input: body.cover,
6262
userId: authResult.userId,

0 commit comments

Comments
 (0)