about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2022-01-06T15·55-0500
committergrfn <grfn@gws.fyi>2022-01-20T14·32+0000
commit86496ca4cd162f50dd1f1401dbfaac2fb817b387 (patch)
treeb71f080aab6a1d495aa07cfb4452ee00b41ed3d8
parent38dadc0d0b5b452496db4b12a73c1781e483a18d (diff)
fix(grfn/bbbg): Allow non-numeric meetup user IDs r/3642
Apparently meetup will just make the user ID the username sometimes...
idk what's up with this.

Change-Id: I19eaade2fd3394e6ff81c30692bf4a2899985025
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5022
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/grfn/bbbg/src/bbbg/meetup_user.clj4
1 files changed, 1 insertions, 3 deletions
diff --git a/users/grfn/bbbg/src/bbbg/meetup_user.clj b/users/grfn/bbbg/src/bbbg/meetup_user.clj
index bd183132b73f..945d681c6f82 100644
--- a/users/grfn/bbbg/src/bbbg/meetup_user.clj
+++ b/users/grfn/bbbg/src/bbbg/meetup_user.clj
@@ -3,6 +3,4 @@
 
 (s/def ::id
   (s/nilable
-   (s/and string?
-          seq
-          #(re-matches #"\d+" %))))
+   (s/and string? seq)))