Skip to content

Commit

Permalink
Merge pull request #222 from memphisdev/bugfix-RND-294-creating-a-sch…
Browse files Browse the repository at this point in the history
…ema-from-the-sdk-doesnt-creating-new-version-if-the-schema-already-exist

bugfix-RND-294-creating-a-schema-from-the-sdk-doesnt-creating-new-version-if-the-schema-already-exist
  • Loading branch information
shohamroditimemphis authored Dec 10, 2023
2 parents 7d8054a + 745584c commit a13af06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/memphis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ class Memphis {
);

createRes = this.JSONC.decode(createRes.data);
if (createRes.error != "")
if (createRes.error != "" && !createRes.error.includes("already exists"))
throw MemphisError(new Error(createRes.error))


Expand Down

0 comments on commit a13af06

Please sign in to comment.