Skip to content

Commit

Permalink
Update the API base URL (#8)
Browse files Browse the repository at this point in the history
* Update the API base URL

* Update version

* Fix the failing test
  • Loading branch information
ofekashery authored and yardnsm committed Apr 25, 2019
1 parent 1d76ed1 commit b32c319
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/api-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const baseUrl = 'https://svc.mashov.info/api';
export const apiVersion = '3.2017032';
export const baseUrl = 'https://web.mashov.info/api';
export const apiVersion = '3.20190301';
export const appName = 'com.mashov.main';

export const endpoints = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-mashov",
"version": "0.2.2",
"version": "0.2.3",
"description": "A wrapper for Mashov API",
"keywords": [
"mashov",
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/files.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"id": 10,
"name": "File.txt",
"groupName": "Group1",
"url": "https://svc.mashov.info/api/students/0000/files/10/File.txt"
"url": "https://web.mashov.info/api/students/0000/files/10/File.txt"
}]
}

0 comments on commit b32c319

Please sign in to comment.