Fixed bug disabling server startup
For further information please take a look at the first Javadoc comment in envoy.data.Config
This commit is contained in:
@ -40,7 +40,7 @@ public final class IssueProposalProcessor implements ObjectProcessor<IssuePropos
|
||||
// Two types of authorization are currently supported: access token as
|
||||
// query param or access token as authorization header
|
||||
final var authenticationToken = config.getIssueAuthToken();
|
||||
if (authenticationToken != null) {
|
||||
if (!authenticationToken.equals("")) {
|
||||
final String auth = "token " + authenticationToken;
|
||||
connection.setRequestProperty("Authorization", auth);
|
||||
}
|
||||
|
Reference in New Issue
Block a user