Skip to content

Commit

Permalink
fix: lookup profile args in storage
Browse files Browse the repository at this point in the history
  • Loading branch information
yknl committed Sep 2, 2020
1 parent c749612 commit e60cf32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/storage/src/storage.ts
Expand Up @@ -194,7 +194,7 @@ export class Storage {
appOrigin: string,
zoneFileLookupURL?: string
): Promise<string|null> {
const profile = await lookupProfile(username, zoneFileLookupURL)
const profile = await lookupProfile({username, zoneFileLookupURL})
let bucketUrl: string = null
if (profile.hasOwnProperty('apps')) {
if (profile.apps.hasOwnProperty(appOrigin)) {
Expand Down

0 comments on commit e60cf32

Please sign in to comment.