Both, are correct.
It's only beginners that think that LOA is about getting things...
Buddhism says that the longing of desire is suffering
LOA says that if you keep longing , you'll keep attracting to yourself that longing and lacking feeling...
Buddhism says to appreciate and be happy now without the suffering through desire
LOA says to be happy because then you'll attract more happiness and if you just think about things you want but don't have, you'll keep attracting the "lack" of those things.
LOA works by emotion and vibration, not by things. Being happy means attracting more happiness. LOA teaches you to make happiness the goal instead of the stuff. The stuff is less important than the emotion.