Module 933725

359 characters · in 67f77628612f0002.js
Dependencies
Required by (3)
Lazily required by (0)none
Lazily requires (0)none
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 e.ok&&d.h.dispatch({type:"CURRENT_USER_UPDATE",user:{...u.default.getCurrentUser(),...e.body}}),e}catch(t){return t}}}