Make explicit that forceFormat is optional
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user