Skip to content

Commit 5b3f343

Browse files
enable add sponsoring
1 parent a34446a commit 5b3f343

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "breakout-api-client",
3-
"version": "0.13.0",
3+
"version": "0.14.0",
44
"description": "A JS Api client for the breakout-backend",
55
"main": "src/BreakoutApi.js",
66
"directories": {

src/BreakoutApi.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,11 @@ class BreakoutApi {
452452
.then(resp => resp.data);
453453
}
454454

455+
addSponsoring(teamId, sponsoring) {
456+
return this.instance.post(`event/-1/team/${teamId}/sponsoring/`, sponsoring)
457+
.then(resp => resp.data);
458+
}
459+
455460
}
456461

457462
module.exports = BreakoutApi;

0 commit comments

Comments
 (0)