Hello, I am using the database with this configuration, and when I query an operator user, the company ID shows null; however, in the AppWrite console, the document corresponding to that user is assigned to a company.
I am attaching the attributes of each collection and the result of the query.
Why would this be?
TL;DR
Developers are confused why the company ID shows null when querying an operator user in the database, despite being assigned in the AppWrite console. They attached collection attributes and query results.
Solution: Double-check the mapping between the user and company ID in the database configuration.