Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Remove invalid usage of path (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki committed Dec 1, 2017
1 parent 23ca3b7 commit efa11e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cloud/datasync/src/web/SyncWebExpress.ts
Expand Up @@ -5,7 +5,6 @@
import { getLogger } from '@raincatcher/logger';
import * as Express from 'express';
import * as sync from 'fh-sync';
import * as path from 'path';
const logger = getLogger();
/**
* Expose Feedhenry Sync API using express middleware
Expand All @@ -27,7 +26,7 @@ export class SyncExpressMiddleware {
* Create express router for sync endpoints
*/
public createSyncExpressRouter() {
const apiURI = path.join(this.prefix + '/:datasetId');
const apiURI = this.prefix + '/:datasetId';
logger.debug('Creating sync endpoint');
const syncRoute = this.router.route(apiURI);

Expand Down

0 comments on commit efa11e3

Please sign in to comment.