Build 606747stable
Module 933725
353 characters · in 48f0cc9b194539a4.jsDependencies
Source Raw
function(t,r,e){e.d(r,{m:()=>s});var i=e(636537),d=e(228366),u=e(287809),a=e(652215);async function s(t,r){try{let e=await i.Bo.put({url:a.Rsh.USER_SET_GUILD_IDENTITY,body:{identity_guild_id:t,identity_enabled:r},rejectWithError:!1});return d.h.dispatch({type:"CURRENT_USER_UPDATE",user:{...u.default.getCurrentUser(),...e.body}}),e}catch(t){return t}}}