File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 2.20.3 (2026-01-23)
2+ ### Fixes
3+ 🛠 Fix faulty item id for Sendgrid after changing 1Password organisation.
4+
15## 2.20.2 (2025-10-06)
26### Fixes
37🛠 Bug fix checking of correct ip before accessing the Sendgrid api
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import { checkLisaVersion } from "./lib/versions.js"
2727import { generateVaultPass } from "./tasks/trellis.js"
2828
2929export const program = new Command ( )
30- export const LISA_VERSION = "2.20.2 "
30+ export const LISA_VERSION = "2.20.3 "
3131
3232resetConf ( )
3333checkNodeVersion ( )
Original file line number Diff line number Diff line change 11{
22 "name" : " @triggerfishab/lisa-cli" ,
3- "version" : " 2.20.2 " ,
3+ "version" : " 2.20.3 " ,
44 "description" : " CLI commands to generate a new project based on Lisa" ,
55 "main" : " ./index.js" ,
66 "bin" : {
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ import {
1212} from "../../lib/write.js"
1313
1414async function setupSendgridAccount ( ) {
15- let projectName = await getProjectName ( )
15+ const projectName = await getProjectName ( )
1616 let apiKey = ""
1717
1818 writeStep ( "Creating Sendgrid subuser" )
1919 try {
2020 apiKey = await exec (
21- ` op item get uhfxs25bmpaqk24fay4wz7qsie --fields label="sendgrid. api key"` ,
21+ " op read \"op://STO TF Shared/LISA CLI/SENDGRID/ api key\"" ,
2222 ) . then ( ( res ) => res . stdout . trim ( ) )
2323 } catch ( error ) {
2424 writeError ( `Failed accessing 1Password. \n ${ error } ` )
@@ -47,7 +47,7 @@ async function setupSendgridAccount() {
4747 }
4848 */
4949
50- let body = {
50+ const body = {
5151 username : projectName ,
5252 email : `${ projectName } @sendgrid.triggerfish.se` ,
5353 password : passwordGenerator . generate ( {
@@ -57,14 +57,13 @@ async function setupSendgridAccount() {
5757 } ) ,
5858 ips : [ ip ] ,
5959 }
60-
6160 const [ , subuser ] = await client . request ( {
6261 method : "POST" ,
6362 url : "/v3/subusers" ,
6463 body,
6564 } )
6665
67- writeSuccess ( ` Sendgrid subuser created` )
66+ writeSuccess ( " Sendgrid subuser created" )
6867
6968 writeStep ( "Creating Sendgrid subuser api key" )
7069
You can’t perform that action at this time.
0 commit comments