'use strict';
import { resourceNames } from '../../../fd-toolbox/resources/resource-names.js';
import { getResource, updateResource } from '../../meta/server/db/db.js';

var __defProp=Object['defineProperty'],__name=(_0x293c4f,_0xdd0a3e)=>__defProp(_0x293c4f,'name',{'value':_0xdd0a3e,'configurable':!![]});async function afterUpdate(_0xd5ec16){const _0x5efa85=await getResource({'resourceName':resourceNames['user'],'id':_0xd5ec16['modifiedResource']['userId']}),_0x4bc6f3={..._0x5efa85,..._0xd5ec16['modifiedResource'],'id':_0xd5ec16['modifiedResource']['userId'],'userId':_0xd5ec16['modifiedResource']['userId'],'imageUrl':_0xd5ec16['modifiedResource']['imageUrl']};await updateResource(_0x4bc6f3,resourceNames['user']);}__name(afterUpdate,'afterUpdate');

export { afterUpdate, afterUpdate as afterUpdateUserSetting };
