Closed Sevichecc closed 1 year ago
The code has been refactored based on the review. Any suggestion?
Huh, interesting. I never got this error and can't reproduce it (on Windows 10). Maybe another OS-specific thing? Your changed code works just as well on Windows though (i.e. triggers no errors and can successfully fetch the configuration)
Pending the changes I'm happy to merge this.
The error is a bit weird, and I have spent some time figuring it out. It might be an OS-specific issue, or it might not be. Probably something is wrong with my local environment.
The code has been refactored based on the review. Any suggestion?
Sorry, I wasn't clear enough with "outside the function" in https://github.com/Fivefold/linkding-injector/pull/20#discussion_r1216489587
I added the change I intended myself, no worries.
The error is a bit weird, and I have spent some time figuring it out. It might be an OS-specific issue, or it might not be. Probably something is wrong with my local environment.
Maybe, but if this fixes it, it doesn't matter in the end.
Thanks again for your time and work, I appreciate it!
There is a signature error in the getConfiguration method:
And this PR aims to fix it and refactor the saveConfiguration method to be cleaner.