File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 "node" : true
1717 },
1818 "globals" : {
19- "config" : true ,
2019 "Log" : true ,
2120 "MM" : true ,
2221 "Module" : true ,
Original file line number Diff line number Diff line change @@ -245,17 +245,17 @@ module.exports = NodeHelper.create({
245245 */
246246 let albums = await this . getAlbums ( ) ;
247247 if ( this . config . uploadAlbum ) {
248- const uploadAlbum = albums . find ( ( a ) => a . title === config . uploadAlbum ) ;
248+ const uploadAlbum = albums . find ( ( a ) => a . title === this . config . uploadAlbum ) ;
249249 if ( uploadAlbum ) {
250250 if ( uploadAlbum . hasOwnProperty ( "shareInfo" ) && uploadAlbum . isWriteable ) {
251- Log . info ( "Confirmed Uploadable album:" , config . uploadAlbum , uploadAlbum . id ) ;
251+ Log . info ( "Confirmed Uploadable album:" , this . config . uploadAlbum , uploadAlbum . id ) ;
252252 this . uploadAlbumId = uploadAlbum . id ;
253- this . sendSocketNotification ( "UPLOADABLE_ALBUM" , config . uploadAlbum ) ;
253+ this . sendSocketNotification ( "UPLOADABLE_ALBUM" , this . config . uploadAlbum ) ;
254254 } else {
255- Log . error ( "This album is not uploadable:" , config . uploadAlbum ) ;
255+ Log . error ( "This album is not uploadable:" , this . config . uploadAlbum ) ;
256256 }
257257 } else {
258- Log . error ( "Can't find uploadable album :" , config . uploadAlbum ) ;
258+ Log . error ( "Can't find uploadable album :" , this . config . uploadAlbum ) ;
259259 }
260260 }
261261 /**
You can’t perform that action at this time.
0 commit comments