Skip to content

Commit 9c09bef

Browse files
committed
fix: error in creating scope #573
1 parent b535a46 commit 9c09bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin-ui/plugins/auth-server/components/Scopes/ScopeForm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function ScopeForm({ scope, scripts, attributes, handleSubmit }) {
161161
onSubmit={(values) => {
162162
const result = Object.assign(scope, values)
163163
result['id'] = result.id
164-
result['creatorType'] = 'USER'
164+
result['creatorType'] = 'user'
165165
result['creatorId'] = authReducer.userinfo.inum
166166
result['attributes'].showInConfigurationEndpoint =
167167
scope.attributes.showInConfigurationEndpoint

0 commit comments

Comments
 (0)