@andreabiagini5/applicazioni-e-servizi-web-project - v1.1.3
    Preparing search index...

    Function saveMatch

    • Permanently saves a match in the ended match repository.

      Note: considering the current implementation of the two repositories, the ID does not change.

      Parameters

      • matchId: string

        the ID of the match to be saved permanently.

      • ratingDelta: number

        the absolute value of the rating score exchanged between players.

      Returns Promise<string>

      the new ID of the permanently saved match.