Skip to content

Commit 23473a6

Browse files
committed
Missing semi-colon in js preventing headers option from being set
1 parent 121765d commit 23473a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/grape_swagger_rails/application/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
} else {
4545
window.authorizations.add("key", null);
4646
}
47-
})
47+
});
4848

4949
<% GrapeSwaggerRails.options.headers.each_pair do |key, value| %>
5050
<%=raw "window.authorizations.add('key', new ApiKeyAuthorization('#{CGI.escapeHTML(key)}', '#{CGI.escapeHTML(value)}', 'header'));" %>

0 commit comments

Comments
 (0)