trying to correct the check for trusted users (needs resolution field)

I do not know if this is enough to add the resolution field to the database of the patchbot