const allowedCategories = [

    "general",

    "attendance",

    "device",

    "storage",

    "security",
    "about",
    "devices",

    "backup"

];


exports.validateCategory =
(category)=>{


    return allowedCategories.includes(

        category

    );


};