Skip to content

Commit 8e4af7e

Browse files
committed
chore(api): update space id header key constant
- Changed SPACE_ID_KEY from X-Space-Id to CoSec-Space-Id - Updated constant value to follow CoSec naming convention - Maintained default empty string value for fallback usage Signed-off-by: Ahoo Wang <ahoowang@qq.com>
1 parent 9c4724b commit 8e4af7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cosec-api/src/main/kotlin/me/ahoo/cosec/api/context/request/SpaceIdCapable.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ typealias SpaceId = String
1717

1818
interface SpaceIdCapable {
1919
companion object {
20-
const val SPACE_ID_KEY = "X-Space-Id"
20+
const val SPACE_ID_KEY = "CoSec-Space-Id"
2121
const val DEFAULT = ""
2222
}
2323

0 commit comments

Comments
 (0)