Skip to content

Commit 5df5aa0

Browse files
committed
add change number error
1 parent f9e83fc commit 5df5aa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DGCustomization/src/DGMap.BaseLayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ DG.Map.addInitHook(function() {
3838
var validator = new DG.ApiKeyValidator(apiKey);
3939
validator.validate(function(response) {
4040
// TODO пока на 400 ошибку (пользователь без ключа) не показываем ошибку (на релизе уже показываем)
41-
if (response.meta.code === 500 || !response.result) {
41+
if (response.meta.code === 400 || !response.result) {
4242
return;
4343
}
4444

0 commit comments

Comments
 (0)