1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +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));
};