1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-18 09:35:20 +02:00
joplin/packages/lib/services/plugins/utils/getPluginSettingValue.ts

7 lines
249 B
TypeScript

import Setting from '../../../models/Setting';
import getPluginNamespacedSettingKey from './getPluginNamespacedSettingKey';
export default (pluginId: string, key: string) => {
return Setting.value(getPluginNamespacedSettingKey(pluginId, key));
};