Make explicit that forceFormat
is optional
This commit is contained in:
parent
f03d98cd0d
commit
5de8c4f9c3
@ -89,7 +89,7 @@ NamedMapsController.prototype.register = function(app) {
|
||||
);
|
||||
};
|
||||
|
||||
NamedMapsController.prototype.getNamedMapProvider = function ({ label, forcedFormat }) {
|
||||
NamedMapsController.prototype.getNamedMapProvider = function ({ label, forcedFormat = null }) {
|
||||
return function getNamedMapProviderMiddleware (req, res, next) {
|
||||
const { user } = res.locals;
|
||||
const { config, auth_token } = req.query;
|
||||
|
Loading…
Reference in New Issue
Block a user