Skip to content

Commit

Permalink
Update message.repository.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
SalleeMatthew authored and dburleson committed Jan 15, 2024
1 parent 0ea05e3 commit b60b55d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions api/src/repositories/message/message.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,6 @@ export class MessageRepository {
.innerJoin('member', 'message.member_id', 'member.id')
.orderBy(orderField, orderDirection)
.limit(limit);

}

public async deleteMessage(
messageId: number,
placeId: number,
): Promise<any> {
return knex('message')
.where('message.place_id', placeId)
.where('id', messageId)
.update({status: 0});
}
}

0 comments on commit b60b55d

Please sign in to comment.