     .pop().callback callback
 
 
-exports.rotateTeamMediumImage = (teamMediumId, rotateDirection) ->
+exports.rotateTeamMediumImage = (teamMediumId, rotateDirection, callback) ->
   unless teamMediumId and @isId teamMediumId
     throw new TSArgsError 'teamsnap.rotateTeamMediumImage', 'must provide a
     teamMediumId'

    .pop().callback callback


exports.assignMediaToGroup = (teamMediumId, teamMediaGroupId, callback) ->
  unless teamMediumId and @isId teamMediumId
    throw new TSArgsError 'teamsnap.assignMediaToGroup', 'must provide a

    teamMediumId: teamMediumId
    rotateDirection: rotateDirection

  @collections.teamMedia.exec('rotateTeamMediumImage', params)
    .pop().callback callback
