Skip to content

Commit

Permalink
DEV2-4253 allow null response for Workspace request
Browse files Browse the repository at this point in the history
  • Loading branch information
yonip23 committed Nov 20, 2023
1 parent a0c8db4 commit 8f745e4
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.tabnineCommon.binary.requests.fileLifecycle

import com.google.gson.annotations.SerializedName
import com.tabnineCommon.binary.BinaryRequest
import com.tabnineCommon.binary.exceptions.TabNineInvalidResponseException
import com.tabnineCommon.binary.requests.EmptyResponse

data class Workspace(
Expand All @@ -18,4 +19,8 @@ data class Workspace(
override fun validate(response: EmptyResponse): Boolean {
return true
}

override fun shouldBeAllowed(e: TabNineInvalidResponseException): Boolean {
return true
}
}

0 comments on commit 8f745e4

Please sign in to comment.