Skip to main content

lightyear.setsecret

Home > @runlightyear/lightyear > setSecret

setSecret() function

Set a secret on the current action or webhook.

Signature:
declare function setSecret(name: string, value: string | null): Promise<node_fetch.Response>;

Parameters

ParameterTypeDescription
namestring
valuestring | null
Returns:

Promise<node_fetch.Response>