Figured out Workato recipe with Python node to reduce the scope of the original anthology flow.
This commit is contained in:
@ -12,12 +12,12 @@ const fetch = require("node-fetch")
|
||||
|
||||
exports.main = async ({ user_email }) => {
|
||||
let all_domains = [
|
||||
'@newanthology.com',
|
||||
'@knowledgestate.edu',
|
||||
'@creighton.edu',
|
||||
'@tc.columbia.edu',
|
||||
'@mstc.edu',
|
||||
'@gvltec.edu',
|
||||
'newanthology.com',
|
||||
'knowledgestate.edu',
|
||||
'creighton.edu',
|
||||
'tc.columbia.edu',
|
||||
'mstc.edu',
|
||||
'gvltec.edu',
|
||||
]
|
||||
|
||||
let user_domain = user_email.slice(user_email.indexOf('@'));
|
||||
|
||||
Reference in New Issue
Block a user