updateChallenge

open fun updateChallenge(@Nullable tablePrefix: String, @NotNull id: @NotNull String, @NotNull data: @NotNull String)(source)

Updates a challenge in the database.

Parameters

tablePrefix

the prefix, if any, to use for the container's name.

id

the id of the challenge to update.

data

the updated data of the challenge.

Throws

if an I/O error occurs while updating the challenge.