Skip to content

Commit afa5eea

Browse files
committed
display the results on type view
1 parent b5919d1 commit afa5eea

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

integrate/__main__.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727

2828
args = parser.parse_args()
2929

30-
if args.user_id:
31-
print(find_user(user_id=args.user_id))
32-
if args.email:
33-
print(find_user(user_email=args.email))
30+
if args.type == "view":
31+
if args.user_id:
32+
print(find_user(user_id=args.user_id))
33+
if args.email:
34+
print(find_user(user_email=args.email))
35+
else:
36+
print("sending message")

0 commit comments

Comments
 (0)