Skip to content

Commit

Permalink
Remove extra check
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-mairose-sp committed Oct 18, 2024
1 parent 2a9adb3 commit 78dfa90
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions sdk-resources/postscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,15 +239,10 @@ func (o *WorkgroupDto) UnmarshalJSON(data []byte) (err error) {`;
} else if (line.includes('func (o *WorkgroupDto) SetCreated(v time.Time) {')) {
fileOut.push(line.replace('func (o *WorkgroupDto) SetCreated(v time.Time) {', 'func (o *WorkgroupDto) SetCreated(v SailPointTime) {'));
madeChange = true;
}else if (line.includes('func (o *WorkgroupDto) UnmarshalJSON(data []byte) (err error) {')) {
} else if (line.includes('func (o *WorkgroupDto) UnmarshalJSON(data []byte) (err error) {')) {
fileOut.push(line.replace('func (o *WorkgroupDto) UnmarshalJSON(data []byte) (err error) {', sailPointTimeCode));
madeChange = true;
} else if (line.includes('')) {
fileOut.push(line.replace('', ''));
madeChange = true;
}

else {
} else {
fileOut.push(line);
}
}
Expand Down

0 comments on commit 78dfa90

Please sign in to comment.