Skip to content

Commit

Permalink
Fix: Add credentials to oneDriver request
Browse files Browse the repository at this point in the history
  • Loading branch information
jonycoo committed Dec 15, 2023
1 parent 04e4807 commit 559dccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/Services/story.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class StoryService {
*/
public changeOneDriver(oneDriver: boolean, storyID: any) {
return this.http
.post(this.apiService.apiServer + '/story/oneDriver/' + storyID, { oneDriver });
.post(this.apiService.apiServer + '/story/oneDriver/' + storyID, { oneDriver }, ApiService.getOptions());
}
/**
* Checking the same name of the story
Expand Down

0 comments on commit 559dccc

Please sign in to comment.