Skip to content

Commit 77dcd3d

Browse files
author
FalkWolsky
committed
Update Subscription Search API handling
1 parent 3f216d8 commit 77dcd3d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

client/packages/lowcoder/src/api/subscriptionApi.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,12 @@ export const searchCustomersSubscriptions = async (Customer: LowcoderSearchCusto
216216
else if (result.data.success == "false" && result.data.reason == "customerNotFound") {
217217
return [];
218218
}
219+
else if (result.data.success == "false" && result.data.reason == "userSubscriptionNotFound") {
220+
return [];
221+
}
222+
else if (result.data.success == "false" && result.data.reason == "orgSubscriptionNotFound") {
223+
return [];
224+
}
219225
} catch (error) {
220226
console.error("Error searching customer:", error);
221227
throw error;

0 commit comments

Comments
 (0)