fix: Invalid flash message fixed when editing an attribute
fix: Invalid flash message fixed when editing an attribute

- was showing an error on success

FIRSTdotorg/MISP,MISP/MISP,MISP/MISP,SteveClement/MISP,FloatingGhost/MISP,devnull-/MISP,FloatingGhost/MISP,devnull-/MISP,SteveClement/MISP,Rafiot/MISP,devnull-/MISP,SteveClement/MISP,devnull-/MISP,FloatingGhost/MISP,FIRSTdotorg/MISP,Rafiot/MISP,MISP/MISP,SteveClement/MISP,FloatingGhost/MISP,Rafiot/MISP,MISP/MISP,FIRSTdotorg/MISP,SteveClement/MISP,Rafiot/MISP,FIRSTdotorg/MISP,MISP/MISP