Skip to content

Commit

Permalink
fix(backend): Resolve fetch jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
GerardPaligot committed May 26, 2023
1 parent ded036a commit c614a91
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class JobRepository(
val jobsDb = jobs.hits
.filter { it.title.contains("spontaneous_application").not() }
.map { hit ->
val id = "${hit.companyId.substring(0..MaxPartnerChar)}-${hit.publishDate}"
val id = if (hit.companyId.length < MaxPartnerChar) hit.companyId
else "${hit.companyId.substring(0..MaxPartnerChar)}-${hit.publishDate}"
val partnerId = cms4PartnerDbs.find { it.wldId == hit.companyId }?.id
?: partners.find { it.wldId == hit.companyId }?.id
?: throw NotAcceptableException("Partner WLD ${hit.companyId} not found")
Expand Down
9 changes: 5 additions & 4 deletions iosApp/iosApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@
isa = PBXNativeTarget;
buildConfigurationList = 7555FFA5242A565B00829871 /* Build configuration list for PBXNativeTarget "iosApp" */;
buildPhases = (
7555FFB5242A651A00829871 /* ShellScript */,
7555FFB5242A651A00829871 /* Run Script */,
7555FF77242A565900829871 /* Sources */,
7555FF78242A565900829871 /* Frameworks */,
7555FF79242A565900829871 /* Resources */,
Expand Down Expand Up @@ -648,7 +648,7 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
7555FFB5242A651A00829871 /* ShellScript */ = {
7555FFB5242A651A00829871 /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
Expand All @@ -657,6 +657,7 @@
);
inputPaths = (
);
name = "Run Script";
outputFileListPaths = (
);
outputPaths = (
Expand Down Expand Up @@ -906,7 +907,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
BASE_URL = "https://cms4partners-ce427.nw.r.appspot.com";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2000;
CURRENT_PROJECT_VERSION = 2001;
DEVELOPMENT_ASSET_PATHS = "\"iosApp/Preview Content\"";
DEVELOPMENT_TEAM = DU6582MPLT;
ENABLE_PREVIEWS = YES;
Expand Down Expand Up @@ -939,7 +940,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
BASE_URL = "https://cms4partners-ce427.nw.r.appspot.com";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2000;
CURRENT_PROJECT_VERSION = 2001;
DEVELOPMENT_ASSET_PATHS = "\"iosApp/Preview Content\"";
DEVELOPMENT_TEAM = DU6582MPLT;
ENABLE_PREVIEWS = YES;
Expand Down
Binary file not shown.

0 comments on commit c614a91

Please sign in to comment.