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