Skip to content

Commit

Permalink
fix: netsuite oauth callback format
Browse files Browse the repository at this point in the history
  • Loading branch information
DaKingKong committed Jul 1, 2024
1 parent 946d876 commit 1239b05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/adapters/netsuite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ async function getUserInfo({ authHeader, additionalInfo, query }) {
const timezoneName = employeResponse.data.time_zone ?? '';
const timezoneOffset = employeResponse.data.time_zone_offset ?? null;
return {
successful: true,
platformUserInfo: {
id,
name,
Expand All @@ -49,6 +50,7 @@ async function getUserInfo({ authHeader, additionalInfo, query }) {
} catch (error) {
console.log({ message: "Error in getting User Info", error });
return {
successful: false,
returnMessage: {
messageType: 'danger',
message: 'Error in getting NetSuite User Info.',
Expand Down

0 comments on commit 1239b05

Please sign in to comment.