Skip to content

Commit 05f8f76

Browse files
authored
Update README.md
1 parent b3a7dff commit 05f8f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ public class WidgetController$Route implements HttpService {
292292
var pathParams = req.path().pathParameters();
293293
int id = asInt(pathParams.first("id").get());
294294
var result = controller.getById(id);
295-
res.headers().contentType(io.helidon.common.http.HttpMediaType.APPLICATION_JSON);
295+
res.headers().contentType(HttpMediaType.APPLICATION_JSON);
296296
widgetJsonType.toJson(result, JsonOutput.of(res));
297297
}
298298

0 commit comments

Comments
 (0)