obsidian-wordpress icon indicating copy to clipboard operation
obsidian-wordpress copied to clipboard

Endpoint for rest authentication + images fix

Open inode- opened this issue 1 year ago • 2 comments

I just modified the endpoint for the verification of the authentication. It seems that the search feature is blocked by multiple plugins and hosting due to security concerns.

inode- avatar Aug 22 '24 07:08 inode-

I also fixed the parsing of images

inode- avatar Oct 14 '24 10:10 inode-

I tried to merge your PR, but resulted in can't compile, any fixes?

src/wp-profile-modal.ts:66:7 - error TS2322: Type 'unknown' is not assignable to type 'WordPressOAuth2Token | undefined'.

66       this.profileData.wpComOAuth2Token = token;
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/wp-profile-modal.ts:69:9 - error TS2322: Type 'unknown' is not assignable to type 'WordPressOAuth2Token | undefined'.

69         this.plugin.settings.profiles[atIndex].wpComOAuth2Token = token;

bugparty avatar Mar 09 '25 05:03 bugparty