Skip to content

Commit

Permalink
Store new API key instead of old API key on API key reset (#1127)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmock committed Jun 1, 2024
1 parent 9026e61 commit b130e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/AuthController.scala
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ class AuthController @Inject() (
case Some(updated) =>
updated.apiKey match {
case Some(api) => {
Future(storeAPIKeyInOSM(user))
Future(storeAPIKeyInOSM(updated))
Ok(api)
}
case None => NoContent
Expand Down

0 comments on commit b130e56

Please sign in to comment.