diff --git a/src/libs/apistore.js b/src/libs/apistore.js index bf479c5..1f578aa 100644 --- a/src/libs/apistore.js +++ b/src/libs/apistore.js @@ -67,7 +67,7 @@ export class ApiStyleStore { save(mapStyle) { const styleJSON = format( style.stripAccessTokens( - style.replaceAccessTokens(newStyle) + style.replaceAccessTokens(mapStyle) ) );