attend apiを修正