Skip to content

Commit

Permalink
feat: remove useless if
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
  • Loading branch information
SuZhou-Joe committed Apr 4, 2024
1 parent 9813351 commit cf21980
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/server/utils/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ export const updateWorkspaceState = (
) => {
const rawRequest = ensureRawRequest(request);

if (!rawRequest.app) {
rawRequest.app = {};
}

rawRequest.app = {
...rawRequest.app,
...payload,
Expand Down

0 comments on commit cf21980

Please sign in to comment.