mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-08 22:48:14 -05:00
fix failing lint from os contributor (#2459)
This commit is contained in:
committed by
GitHub
parent
c6757311af
commit
811c736705
@@ -363,7 +363,7 @@ async function formatTeamsGraphNotification(
|
||||
contentType: mimeType,
|
||||
size,
|
||||
})
|
||||
} catch { }
|
||||
} catch {}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -638,24 +638,24 @@ export async function formatWebhookInput(
|
||||
|
||||
const senderObj = message.from
|
||||
? {
|
||||
id: message.from.id,
|
||||
firstName: message.from.first_name,
|
||||
lastName: message.from.last_name,
|
||||
username: message.from.username,
|
||||
languageCode: message.from.language_code,
|
||||
isBot: message.from.is_bot,
|
||||
}
|
||||
id: message.from.id,
|
||||
firstName: message.from.first_name,
|
||||
lastName: message.from.last_name,
|
||||
username: message.from.username,
|
||||
languageCode: message.from.language_code,
|
||||
isBot: message.from.is_bot,
|
||||
}
|
||||
: null
|
||||
|
||||
const chatObj = message.chat
|
||||
? {
|
||||
id: message.chat.id,
|
||||
type: message.chat.type,
|
||||
title: message.chat.title,
|
||||
username: message.chat.username,
|
||||
firstName: message.chat.first_name,
|
||||
lastName: message.chat.last_name,
|
||||
}
|
||||
id: message.chat.id,
|
||||
type: message.chat.type,
|
||||
title: message.chat.title,
|
||||
username: message.chat.username,
|
||||
firstName: message.chat.first_name,
|
||||
lastName: message.chat.last_name,
|
||||
}
|
||||
: null
|
||||
|
||||
return {
|
||||
|
||||
@@ -3,7 +3,6 @@ import type {
|
||||
SalesforceCreateAccountParams,
|
||||
SalesforceCreateAccountResponse,
|
||||
} from '@/tools/salesforce/types'
|
||||
import { getInstanceUrl } from '@/tools/salesforce/utils'
|
||||
import type { ToolConfig } from '@/tools/types'
|
||||
|
||||
const logger = createLogger('SalesforceCreateAccount')
|
||||
|
||||
@@ -3,7 +3,6 @@ import type {
|
||||
SalesforceDeleteAccountParams,
|
||||
SalesforceDeleteAccountResponse,
|
||||
} from '@/tools/salesforce/types'
|
||||
import { getInstanceUrl } from '@/tools/salesforce/utils'
|
||||
import type { ToolConfig } from '@/tools/types'
|
||||
|
||||
const logger = createLogger('SalesforceDeleteAccount')
|
||||
|
||||
@@ -3,7 +3,6 @@ import type {
|
||||
SalesforceGetAccountsParams,
|
||||
SalesforceGetAccountsResponse,
|
||||
} from '@/tools/salesforce/types'
|
||||
import { getInstanceUrl } from '@/tools/salesforce/utils'
|
||||
import type { ToolConfig } from '@/tools/types'
|
||||
|
||||
const logger = createLogger('SalesforceGetAccounts')
|
||||
|
||||
@@ -3,7 +3,6 @@ import type {
|
||||
SalesforceUpdateAccountParams,
|
||||
SalesforceUpdateAccountResponse,
|
||||
} from '@/tools/salesforce/types'
|
||||
import { getInstanceUrl } from '@/tools/salesforce/utils'
|
||||
import type { ToolConfig } from '@/tools/types'
|
||||
|
||||
const logger = createLogger('SalesforceUpdateAccount')
|
||||
|
||||
Reference in New Issue
Block a user