Skip to content

Commit

Permalink
billed project is not required
Browse files Browse the repository at this point in the history
  • Loading branch information
hpratt committed Sep 24, 2019
1 parent ee4789e commit 90b719f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "signal-service",
"version": "1.1.1",
"version": "1.1.2",
"description": "Service that handles retrieving signal and peak data from BigWig and BigBed files",
"scripts": {
"build": "tsc",
Expand Down
2 changes: 1 addition & 1 deletion src/resolvers/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { DataLoader, GoogleBucketDataLoader, AxiosDataLoader } from "bigwig-read
import { ResponseWithError } from "../models/commonModel";

export function dataLoaderForArgs(url: string, googleProject?: string): DataLoader {
if (googleProject !== undefined && url.startsWith("gs://")) {
if (url.startsWith("gs://")) {
const splitUrl = url.split("gs://")[1].split('/');
return new GoogleBucketDataLoader(splitUrl[0], splitUrl.slice(1).join('/'), googleProject);
}
Expand Down

0 comments on commit 90b719f

Please sign in to comment.