Skip to content

Commit

Permalink
Fix verifyEmail being a GET endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
turecross321 committed Sep 23, 2024
1 parent 824e1d9 commit 946c22a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public ApiOkResponse SetEmail(RequestContext context, GameDatabaseContext databa
[DocRequestBody(typeof(ApiCodeRequest))]
[RateLimitSettings(300, 10, 300, "setEmail")]
[Authentication(false)]
[ApiEndpoint("verifyEmail")]
[ApiEndpoint("verifyEmail", HttpMethods.Post)]
public ApiResponse<ApiFullUserResponse> VerifyEmail(RequestContext context, GameDatabaseContext database, ServerConfig config, ApiCodeRequest body)
{
DbCode? code = database.GetCode(body.Code, CodeType.VerifyEmail);
Expand Down

0 comments on commit 946c22a

Please sign in to comment.