Skip to content

Create sendRoute() cloud code function in Parse CC #6

@yintothayang

Description

@yintothayang

request.data: { routeId: "route id here", userId: "user id here" }

functionality -

  • Add User the Route's attributes.usersSent array of User Pointers
  • Increment the Route's attributes.sends int
  • Add route to the users's attributes.usersSent array of Route Pointers
  • Increment the User's 'attributes.sends' int

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions