Skip to content

Commit

Permalink
Fix inline docs links
Browse files Browse the repository at this point in the history
  • Loading branch information
lkostrowski committed Oct 3, 2023
1 parent 8e5be68 commit 932ac53
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/shy-walls-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@saleor/app-sdk": patch
---

Fixed URLs to docs inline code and errors. Now they point to Saleor Docs website, instead local docs that were removed
2 changes: 1 addition & 1 deletion src/APL/upstash-apl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class UpstashAPL implements APL {
debug("Sending request to Upstash");
if (!this.restURL || !this.restToken) {
throw new Error(
"UpstashAPL is not configured. See https://github.com/saleor/saleor-app-sdk/blob/main/docs/apl.md"
"UpstashAPL is not configured. See https://docs.saleor.io/docs/3.x/developer/extending/apps/developing-apps/app-sdk/apl"
);
}
let response: Response;
Expand Down
2 changes: 1 addition & 1 deletion src/settings-manager/encrypted-metadata-manager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe("settings-manager", () => {
encryptionKey: undefined,
})
).toThrowError(
"Encryption key for the EncryptedMetadataManager has not been set. Setting it for the production environments is necessary. You can find more in the documentation: https://github.com/saleor/saleor-app-sdk/blob/main/docs/settings-manager.md"
"Encryption key for the EncryptedMetadataManager has not been set. Setting it for the production environments is necessary. You can find more in the documentation: https://docs.saleor.io/docs/3.x/developer/extending/apps/developing-apps/app-sdk/settings-manager"
);
});

Expand Down
2 changes: 1 addition & 1 deletion src/settings-manager/encrypted-metadata-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class EncryptedMetadataManager implements SettingsManager {
if (process.env.NODE_ENV === "production") {
console.error("Can't start the application without the secret key.");
throw new Error(
"Encryption key for the EncryptedMetadataManager has not been set. Setting it for the production environments is necessary. You can find more in the documentation: https://github.com/saleor/saleor-app-sdk/blob/main/docs/settings-manager.md"
"Encryption key for the EncryptedMetadataManager has not been set. Setting it for the production environments is necessary. You can find more in the documentation: https://docs.saleor.io/docs/3.x/developer/extending/apps/developing-apps/app-sdk/settings-manager"
);
}
console.warn(
Expand Down

0 comments on commit 932ac53

Please sign in to comment.