Skip to content

Commit

Permalink
fix yaml and axios import
Browse files Browse the repository at this point in the history
  • Loading branch information
gsambrotta committed Aug 8, 2024
1 parent e9854a2 commit e16fb58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/app/_shared/services/uphold_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { search } from '@daz.is/jmespath';

import { environment } from '../../../environments/environment';
import * as uuid from 'uuid';
const axios = require('axios').default;
// const axios = require('axios').default;
import axios from 'axios';

const UPHOLD_OAUTH_PROXY_URL = environment.uphold.proxy + 'api/login?code=';
const UPHOLD_SITE_ROOT = environment.uphold.siteRoot;
Expand Down
2 changes: 1 addition & 1 deletion src/app/services/schema-repository.service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { map, tap } from 'rxjs/operators';
const yaml = require('js-yaml');
import * as yaml from 'js-yaml';
import { forkJoin } from 'rxjs';

@Injectable({
Expand Down

0 comments on commit e16fb58

Please sign in to comment.