File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1010
1111## Version History
1212
13+ ### v3.3.0
14+
15+ - :bug : Add Base64 Message Parsing
16+
1317### v3.2.0
1418
1519- :arrow_up : Update NodeJS Version
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export default class Task extends ETL {
8787 const errs : Error [ ] = [ ] ;
8888 for ( let i = 0 ; i < filteredAgencies . length ; i ++ ) {
8989 const agency = filteredAgencies [ i ] ;
90- console . error ( `ok - getting alerts from ${ agency } ` ) ;
90+ console . log ( `ok - getting alerts from ${ agency } ` ) ;
9191
9292 try {
9393 const agencyForm = new FormData ( ) ;
@@ -128,7 +128,7 @@ export default class Task extends ETL {
128128 continue ;
129129 }
130130
131- const parsed = parse ( alerts . message , { columns : true } ) ;
131+ const parsed = parse ( Buffer . from ( alerts . message , 'base64' ) . toString ( 'utf8' ) , { columns : true } ) ;
132132
133133 for ( const p of parsed ) {
134134 const activeAlert = this . type ( OutputSchema , p )
@@ -195,7 +195,7 @@ export default class Task extends ETL {
195195 token : string ;
196196 agencies : number [ ] ;
197197 } > {
198- console . error ( 'ok - Attempting Login' ) ;
198+ console . log ( 'ok - Attempting Login' ) ;
199199 const loginForm = new FormData ( ) ;
200200 loginForm . append ( 'operation' , 'login' ) ;
201201 loginForm . append ( 'post_data' , JSON . stringify ( {
You can’t perform that action at this time.
0 commit comments