Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.52 KB | None | 0 0
  1.     @POST("/page/row/section")
  2.     suspend fun createRowSectionById(
  3.             @BodyParam form: RowTemplateForm
  4.     ): RowSectionData = with(form) {
  5.         val member = authEventbus.authMember(form.accessToken, form.companyId)
  6.         return pageEventbus.createRowSectionById(member.team,rowId,templateId,name,thumbnail,labels.split(",").map { it.trim() })
  7.     }
  8.  
  9.  suspend fun createRowSectionById(company: Company,rowId: String, templateId: String, name: String, thumbnail: String, labels: List<String>): RowSectionData
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement