fix InvitationApiView.put()

2 jobs for 1978-use-non-ascending-ids-scheduler in 2 minutes and 55 seconds (queued for 1 second)