Skip to content

Commit 32c902e

Browse files
committed
fix: ms onenote export issue
1 parent 740ad16 commit 32c902e

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 1.5.4
4+
5+
### Bug fixes
6+
7+
- Fixes MS OneNote export issue
8+
39
## 1.5.3
410

511
### Bug fixes

packages/browser-extension-oauth2/src/Oauth2.js

+3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ class Oauth2 {
4747
if (params.state !== state) {
4848
throw new Error('Invalid state.');
4949
}
50+
if (params.error) {
51+
throw new Error(params.error);
52+
}
5053
return this.storage
5154
.set(ACESS_TOKEN_KEY, accessToken)
5255
.then(() => accessToken);

packages/common/services/integration/onenote/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class OneNote extends Service {
1010
const clientId =
1111
manifest.browser === 'firefox'
1212
? '5a06bf8d-6526-4b65-a85b-221f6dde2639'
13-
: 'ab2e71d8-340a-4889-8039-26b70504871c';
13+
: '24fa7402-009b-4526-b067-e6de468fbcc0';
1414
this.oauth2 = new Oauth2({
1515
provider: this.namespace,
1616
authorization_endpoint:

packages/extension/manifest.common.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "YiNote",
3-
"version": "1.5.3",
3+
"version": "1.5.4",
44
"description": "Most efficient way to take & share time-stamped notes while watching videos!",
55
"icons": {
66
"16": "icons/icon-16.png",

packages/extension/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@yi-note/extension",
3-
"version": "1.5.3",
3+
"version": "1.5.4",
44
"description": "Most efficient way to take & share time-stamped notes while watching videos!",
55
"private": false,
66
"keywords": [

0 commit comments

Comments
 (0)