Skip to content

Commit

Permalink
feedback: avoid mutation, rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpshr committed Jan 10, 2020
1 parent ee6e614 commit 03c9dfc
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 74 deletions.
1 change: 0 additions & 1 deletion src/endpoints/Assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import type {
RequestOptions
} from "../types";
import Endpoint from "../endpoints/Endpoint";
import { wrap } from "../response";

export default class Assets extends Endpoint {
info(descriptor: AssetDescriptor, requestOptions: RequestOptions = {}) {
Expand Down
2 changes: 1 addition & 1 deletion src/endpoints/Files.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default class Files extends Endpoint {
throw new FileExportError(file.id, exportJob.id);
} else {
await new Promise(resolve => setTimeout(resolve, EXPORT_TIMEOUT));
return checkStatus(count++);
return checkStatus(count + 1);
}
};

Expand Down
1 change: 0 additions & 1 deletion src/endpoints/Shares.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import type {
ShareInput
} from "../types";
import Endpoint from "../endpoints/Endpoint";
import { wrap } from "../response";

const headers = {
"Abstract-Api-Version": "13"
Expand Down
13 changes: 0 additions & 13 deletions src/response.js

This file was deleted.

58 changes: 0 additions & 58 deletions tests/response.test.js

This file was deleted.

0 comments on commit 03c9dfc

Please sign in to comment.