code: func (o *InvitationManager) GetByCode(code string) (invite *JoinOrganizationInvitation, err error) {
  	qry := bson.M{
  		"code": code,
  	}
  	err = o.collection.Find(qry).One(&invite)
  	return
  }
docs: // GetByCode Gets an invite by code