fix
This commit is contained in:
parent
2a75d49da8
commit
cadaddca1f
3 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
lan.vbytes.se {
|
anmalan.vbytes.se {
|
||||||
reverse_proxy localhost:5000
|
reverse_proxy localhost:5000
|
||||||
|
|
||||||
log {
|
log {
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ public class ParticipantController(IVbytesParticipantRelayService relayService)
|
||||||
|
|
||||||
var result = await _relayService.RegisterParticipantAsync(participant, cancellationToken);
|
var result = await _relayService.RegisterParticipantAsync(participant, cancellationToken);
|
||||||
|
|
||||||
if (result.Success)
|
if (result.Success && !result.Message.Contains("401"))
|
||||||
{
|
{
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ public class VolunteerController(IVbytesVolunteerRelayService relayService) : Co
|
||||||
|
|
||||||
var result = await _relayService.RegisterVolunteerAsync(volunteer, cancellationToken);
|
var result = await _relayService.RegisterVolunteerAsync(volunteer, cancellationToken);
|
||||||
|
|
||||||
if (result.Success)
|
if (result.Success && !result.Message.Contains("401"))
|
||||||
{
|
{
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue