Build 533169stable
Module 933725
358 characters · in 16633cfaf322d5bb.js, 0fbb20565e4cb1ee.js, e2cab1d8c36051cf.js, 3ec3ca1084f97629.jsDependencies
Source Raw
function(e,n,t){t.d(n,{m:()=>d});var i=t(562465),a=t(73153),l=t(287809),r=t(652215);async function d(e,n){try{let t=await i.Bo.put({url:r.Rsh.USER_SET_GUILD_IDENTITY,body:{identity_guild_id:e,identity_enabled:n},rejectWithError:!1});return t.ok&&a.h.dispatch({type:"CURRENT_USER_UPDATE",user:{...l.default.getCurrentUser(),...t.body}}),t}catch(e){return e}}}