forked from baron/baron-sso
네이버 웍스 연동기능 개선
This commit is contained in:
@@ -82,6 +82,9 @@ func (w *WorksmobileRelayWorker) dispatch(ctx context.Context, job domain.Worksm
|
||||
|
||||
switch job.ResourceType {
|
||||
case domain.WorksmobileResourceOrgUnit:
|
||||
if job.Action == domain.WorksmobileActionDelete {
|
||||
return w.client.DeleteOrgUnit(ctx, stringValue(job.Payload["worksmobileId"]))
|
||||
}
|
||||
if job.Action != domain.WorksmobileActionUpsert {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user