Skip to content

Commit 950b747

Browse files
fix: create contact API not working
1 parent d75c1d7 commit 950b747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/OpenSignServer/cloud/customRoute/v1/routes/createContact.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export default async function createContact(request, response) {
128128
userId: userRes.objectId,
129129
};
130130
await axios.post(roleurl, body, { headers: headers });
131-
contactQuery.set('CreatedBy', userPtr.objectId);
131+
contactQuery.set('CreatedBy', userPtr);
132132
contactQuery.set('UserId', {
133133
__type: 'Pointer',
134134
className: '_User',

0 commit comments

Comments
 (0)