Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1152 from cocoa-mhlw/feature/registerAPI_always_r…
Browse files Browse the repository at this point in the history
…eturn_200

Fix to return dummy
  • Loading branch information
cocoa-dev006 committed Sep 21, 2022
2 parents 7f2cc5c + 1ba7c38 commit f1a3f8b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Covid19Radar.Api/RegisterApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ public class RegisterApi
return validateResult.ErrorActionResult;
}

return new OkResult();
return new OkObjectResult(new RegisterResultModel()
{
// set dummy infos
UserUuid = DUMMY_UUID,
Secret = DUMMY_SECRET,
JumpConsistentSeed = 0,
});
}

private async Task<IActionResult> Register(string userUuid)
Expand Down

0 comments on commit f1a3f8b

Please sign in to comment.