Skip to content

Commit

Permalink
improved messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhesh-Agarwal committed Apr 6, 2023
1 parent dd39940 commit 81eb77b
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 44 deletions.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ def get_location(ip_address: str) -> dict:
with st.spinner("Checking database..."):
# check if domain exists
if collection.find_one({"domain": domain}):
st.info(f"Domain {domain} already exists in the database")
st.info(f"Domain already exists in the database")
else:
collection.insert_one({"domain": domain, "ip_address": ip_address})
st.info(f"Domain added to the database")


with tabs[1]:
Expand Down
3 changes: 0 additions & 3 deletions auth/custom_user_data.json

This file was deleted.

7 changes: 0 additions & 7 deletions auth/providers.json

This file was deleted.

10 changes: 0 additions & 10 deletions data_sources/mongodb-atlas/config.json

This file was deleted.

3 changes: 0 additions & 3 deletions environments/development.json

This file was deleted.

3 changes: 0 additions & 3 deletions environments/no-environment.json

This file was deleted.

3 changes: 0 additions & 3 deletions environments/production.json

This file was deleted.

3 changes: 0 additions & 3 deletions environments/qa.json

This file was deleted.

3 changes: 0 additions & 3 deletions environments/testing.json

This file was deleted.

1 change: 0 additions & 1 deletion functions/config.json

This file was deleted.

3 changes: 0 additions & 3 deletions graphql/config.json

This file was deleted.

1 change: 0 additions & 1 deletion http_endpoints/config.json

This file was deleted.

3 changes: 0 additions & 3 deletions sync/config.json

This file was deleted.

0 comments on commit 81eb77b

Please sign in to comment.