consul/ui/packages/consul-ui/app/services/btoa.js

13 lines
260 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import Service from '@ember/service';
import btoa from 'consul-ui/utils/btoa';
export default class BtoaService extends Service {
execute() {
return btoa(...arguments);
}
}