How to use weird field keys

Hello,

I’d like to call a function (from Front-End) that gets a website link to one of the items from my collections.

In general it’s super easy, but i dont know how to use correctly “weird” field name in code.

The original (created by wix editor) Field Name is:
link-recruiters-1-activationStatus

What is wrong with my code:
export function getActivationLink (userId)
{
return wixData.get(“Recruiters”, userId)
.then((user) => {
return user.link-recruiters-1-activationStatus;
});

}

Hello!

as for the Code related questions, we can suggest you contact the Velo team here
or raise this question on Velo Forum