Use 403 forbidden for no SteamOwnerID

This commit is contained in:
JustArchi
2017-12-11 15:59:44 +01:00
parent 627c6d2b82
commit 368c616d3e

View File

@@ -276,7 +276,7 @@ namespace ArchiSteamFarm {
}
if (Program.GlobalConfig.SteamOwnerID == 0) {
await ResponseJsonObject(request, response, new GenericResponse(false, string.Format(Strings.ErrorIsInvalid, nameof(Program.GlobalConfig.SteamOwnerID))), HttpStatusCode.ServiceUnavailable).ConfigureAwait(false);
await ResponseJsonObject(request, response, new GenericResponse(false, string.Format(Strings.ErrorIsInvalid, nameof(Program.GlobalConfig.SteamOwnerID))), HttpStatusCode.Forbidden).ConfigureAwait(false);
return true;
}