mirror of
https://github.com/unraid/api.git
synced 2026-05-07 23:51:40 -05:00
chore: lint
This commit is contained in:
@@ -15,15 +15,15 @@ const cache = new CacheManager('unraid:modules:get-unraid-version');
|
||||
|
||||
interface Result extends CoreResult {
|
||||
json: {
|
||||
unraid: string
|
||||
}
|
||||
unraid: string;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Unraid version string.
|
||||
* @returns The current version.
|
||||
*/
|
||||
export const getUnraidVersion = async(context: CoreContext): Promise<Result> => {
|
||||
export const getUnraidVersion = async (context: CoreContext): Promise<Result> => {
|
||||
const { user } = context;
|
||||
|
||||
// Check permissions
|
||||
|
||||
Reference in New Issue
Block a user