1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-05 17:53:12 +02:00

fix: change error message

This commit is contained in:
Fredrik Oseberg 2022-01-19 15:24:58 +01:00
parent f66d95aeef
commit be5084401f

View File

@ -118,7 +118,7 @@ class FeatureToggleService {
const id = await this.featureToggleStore.getProjectId(featureName); const id = await this.featureToggleStore.getProjectId(featureName);
if (id !== projectId) { if (id !== projectId) {
throw new InvalidOperationError( throw new InvalidOperationError(
'You can not change the projectId for an activation strategy.', 'Project id does not match the project that the feature belongs to',
); );
} }
} }