Fix item granting to use new server API