Fix for error on asset create
Fix for error on asset create

merid14/snipe-it,thehereward/snipe-it,MicaelRodrigues/snipe-it,thehereward/snipe-it,merid14/snipe-it,merid14/snipe-it,thehereward/snipe-it,ddreier/snipe-it,MicaelRodrigues/snipe-it,ddreier/snipe-it,MicaelRodrigues/snipe-it,ddreier/snipe-it