From 0a3665e5f0975452f4ba15500a250f776c43feec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Sat, 13 Jul 2024 01:19:02 +0200 Subject: [PATCH] actions: Remove unused `sessionToken: user.sessionId()` Follow-up to 8f5000f3468f424bc8ad5ef81f35b779943916d9. Bug: T289780 Change-Id: Id01b1901428dada420296cd599058092834143a9 --- resources/dist/index.js | Bin 40880 -> 40853 bytes resources/dist/index.js.map.json | Bin 201968 -> 201887 bytes src/actions.js | 1 - tests/node-qunit/actions.test.js | 1 - 4 files changed, 2 deletions(-) diff --git a/resources/dist/index.js b/resources/dist/index.js index 240cb8bdc42c4f633508efbe55845f1f47d1f7e1..a5951087de08a84c94bf868829928f8b0674fd8c 100644 GIT binary patch delta 14 Wcmdn6pK0oTrVY&5o8_`6nE(JV4+ZD| delta 40 pcmbQbpJ@XSF=tB_rxq7y=I4dvXQ$>_mFPjao+%oe8MCLD002wv51;@5 diff --git a/resources/dist/index.js.map.json b/resources/dist/index.js.map.json index f268177ba156c3d21bc8a1b12de3828d112f735c..7a45fe48cae0689b8b089e2e43816646197d0f43 100644 GIT binary patch delta 6795 zcma)BYmD1hR@ZDL>Z#I6An$A@Y1nLDcGqvuxX`lyd;kCOcsw4D$KyDjU8*{s@q7G! zx9K!&(==)NNN=08WxGw6BDU~>uBxR7i3KDONFewCNK1haAjAiR3W&#tMGO4Sxprn! zBE*;Z`@YUS_uSw4opbK|^M||M`*7DsH*yD)hLLLLg~Kw8NC)3dVaS4Ls^7@nI^9D% zVaSqPbYPlcI6_8f-XV=-4BbW|indV{ZPm;F(q4NCbF8Lt#0-OnEx&RX-n6xrNOZid z{K}^keStMc7+PUNSrzj%VEC1@ z!tkh-}*pLpv69WY8e8xfQKhJsl~93!=Ld}L7Sq2W5O>a6pW z?gqxJ)n!^6$>(@+eS-{^T0`HwPZV=JhCh*@iPIStX%bsjM=I}3G}ZSi^Aj%hUzLk) z`x55JRkA{~uu75=dH#gl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jj!1hhfiVVtV>N*jU<2=`YX!L1MUL~79jk8T|MaT)1wqDMVNUH7US^1 zVVF~@v6);m3bQ))&F7x*Aj*(tVp(#Fyc+1Yzxnd9aXVDovcg!OrIsOvl1{bd`czYP zm*}1l7@v6Sx&2K@*v7c4A^;Y=#d!&O14hEBufMftKeZ9iUs%F)W?j{%M8HOcs{Zh; z{Ra9Ylt;I0{ zNKI3iCA#)xVG`QFdx}f>WOb@9i}d!09NhpCZPB`qoFO35mqta!GF$p8+U!aG`ABudi0HQJ@xK30lnXt6I#I(}{RSed;B(L>UkDAYJ7DiNEhPTMem z&2_n^uUs=8YjYr^>3qhk|L)q1ho2eMoFD#$nkMPP7mFwXVX}%0+S6qj7|wfj_FH=n z_`o05YbtE7S5*lAAd~nFuYU7e?``YaxRCDYU%UR?vJWHpABC96Pb5h@Vq69>3w>9V zhhK)#tn)WsT_!zc??!0}p#`+{8X+pHMKq7gfiITbkhy#a7Nezqa^1Pow<%6>Vo9}d z4x*%3SRX+vp0{L)E>Wt;cjeqTLC>8|d~s=R7MsSJy@p=CpstBZ44O2#eOWx@e&#L*5BF!p(>E5lqycV!P|rGgul zGlNEvXKh=IaIah=7A@=ggcb+NQ{nI(Z7E4z|lMxOY=@{lG4Z_ zkoZ)0g$+xTsFhOy!y7kuj|@GcqyO+`-K3XEiW6oDWYbZ`3#w!4DiklsDmKvk+5}1B zVFhP8_t)RL`R=Jls!$lL?7`FcpTFxmG!@o>X{(`TM4gl-BV>aO!#I90ar`xz2s?{+$orcTC?H zZRgtUV!bwBFXw8{Jh|S^wN4JFtd(PT9yK1i`N5v8d!BMVwYh%hJC8n``^7tZKl||c GhyDk+pbP5& diff --git a/src/actions.js b/src/actions.js index 0e68fcdd1..dfc64c15f 100644 --- a/src/actions.js +++ b/src/actions.js @@ -56,7 +56,6 @@ export function boot( initiallyEnabled, // This is only used for logging isNavPopupsEnabled: config.get( 'wgPopupsConflictsWithNavPopupGadget' ), - sessionToken: user.sessionId(), pageToken: user.getPageviewToken(), page: { url, diff --git a/tests/node-qunit/actions.test.js b/tests/node-qunit/actions.test.js index cd3c9c7f4..5a410d608 100644 --- a/tests/node-qunit/actions.test.js +++ b/tests/node-qunit/actions.test.js @@ -43,7 +43,6 @@ QUnit.test( '#boot', ( assert ) => { type: actionTypes.BOOT, initiallyEnabled: { page: false }, isNavPopupsEnabled: true, - sessionToken: '0123456789', pageToken: '9876543210', page: { url: REFERRER,