Snap, QSnapdAuthData error when building

when trying to build plasma discover we get the following error on the build step:

FAILED: bin/discover/snap-backend.so
: && /usr/bin/c++ -fPIC -pipe -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-l>
/usr/bin/ld: libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/SnapTransaction.cpp.o: in function `SnapTransaction::finishTransac>
/home/admn/kde/src/discover/libdiscover/backends/SnapBackend/SnapTransaction.cpp:79:(.text+0xda8): undefined reference to `QSnapdAuthData::Q>
collect2: error: ld returned 1 exit status

Before posting I searched and understand that snap support is disabled from post snap-support-gone-from-discover-store/13555.

I am wondering how to modify the src locally in order to not include snap at all.
If reasonable. It sounds reasonable to me not having snap in discover but tell me if I’m undersighting something.

Linux/KDE Plasma: Debian 13
KDE Plasma Version: 6.1.8
KDE Frameworks Version:6.5.0
Qt Version: 6.7
Git commit: c92135a3782e7e117388d1a8ec3cf19486ee5cf1

Thanks in advance!

Issue can no longer be replicated from git commit f9fdab671edf6e922c52ea574da91c03c737dd6d
a refresh build was successful